Importing XML Data into a Reader Extended PDF

Avatar

Avatar

NW987

Avatar

NW987

NW987

26-08-2011

I'm using designer 9 to create a PDF that will import an XML document on initialization and will use that document to populated multiple dependent dropdown lists.

That's working fine in preview when I use xfa.datasets.data.mydataset to access the XML document and proceed to manipulate the XML with e4x.

Now I have the form working correctly in designer preview and I want to reader extend the form and configure the data connection to access the XML file dynamically instead of using the preview data.

I've tried a few methods of accessing the data via a reader extended form and they have all failed.

I've tried to call importData("local filename") and access the XML file that way. That appears to fail silently.

I've also tried to embed the XML in a hidden form field and the XML document length apparently exceeds the max character limit so I can't do that.

So how can I import the XML document on form initialization either through a) importing the data(ideally through a web URL)  or b) embedding the XML document directly in the form somewhere?  Thanks.

Accepted Solutions (0)

Answers (0)