dataObject in pdf form

Avatar

10-07-2008

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

Replies

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

11-07-2008

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

Avatar

11-07-2008

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

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

11-07-2008

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