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

bob_thompson1
bob_thompson1
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
0

Posts

Posts
2

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by bob_thompson1
Customize the badges you want to showcase on your profile
Re: not getting data from attachments - Adobe LiveCycle 24-09-2013
The following seems to have fixed: ... for (var i = 0; i < attachments.length; i++) { var attach = myDoc.openDataObject(attachments[i].name); try { if (attach != null) { var field = oAttach.getField("myfield"); console.println("field: "+field.value); xfa.event.cancelAction = true; if (attach.disclosed) { attach.closeDoc(); } } } catch (error) { console.println(error); } } ...

Views

82

Likes

0

Replies

0
not getting data from attachments - Adobe LiveCycle 24-09-2013
I have the below code in Desiger 10 and it works for the first one or two attachments but then will error out with the following error:Unhandled exception at 0x5CFCF19A (EScript.api) in Acrobat.exe: 0xC0000005: Access violation reading location 0x80000000.Code:var myDoc = event.target;var attachments = myDoc.dataObjects;if (attachments == null) { app.alert("No attachments found!");} else { for (var i = 0; i < attachments.length; i++) { var attach = myDoc.openDataObject(attachments[i].name); try ...

Views

498

Likes

0

Replies

1