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

dataObject in pdf form

Not applicable
I'm using adobe designer 7 how to put dataObject in my pdf form ?
3 Replies
pguerett
Level 10
Level 10
Can you elaborate a bit on what you are trying to do?
Not applicable
I want to embed external xml file in dataObject and after that use this dataObject in javascript to read xml's content.
pguerett
Level 10
Level 10
You can import an xml data file (it will exist in the data dom) then you can interogate the Dom by using the expression xfa.data to get to the Dom. For debugging I create a large field (wide and high) then make it multiline then use xfa.data.saveXML("pretty") to put the contents of the Dom into the field so I can see it. Note that you can navigate into particular nodes of the Dom by naming them and then use the value property to get its setting. For example xfa.data.rootnode.node1.node.value