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

dataObject in pdf form

Avatar

Not applicable
I'm using adobe designer 7 how to put dataObject in my pdf form ?
3 Replies

Avatar

Level 10
Can you elaborate a bit on what you are trying to do?

Avatar

Not applicable
I want to embed external xml file in dataObject and after that use this dataObject in javascript to read xml's content.

Avatar

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