Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Warning: Javascript Window "0"

Avatar

Level 1

Using LC ES2 with the following JavaScript for opening attachments.  When I highlight the attachment and click Open I get a popup Warning: JavaScript Window - with a  big red X and 0.

var oObj = event.target;

var sAttachObjName = ListBox1.selectedIndex;

 

oObj.exportDataObject({ cName: sAttachObjName, nLaunch: 2 });

0 Replies