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
BedrockMission!

Learn More

View all

Sign in to view all badges

Importing XML Data into a Reader Extended PDF

Avatar

Avatar
Boost 1
Level 2
NW987
Level 2

Likes

2 likes

Total Posts

77 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 2
NW987
Level 2

Likes

2 likes

Total Posts

77 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
NW987
Level 2

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)