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

Import XML data to textfields in a PDF file

Not applicable
Can I use LiveCycle Designer 8.2 to auto populate textfields in a PDF-file with data from a XML-file when the user opens the PDF-file? If so, how will I do it? Is there any guide?

It works fine in the Livecycle Designer preview but when I open the PDF-file all textfields are empty. It also works fine if I import data from a OLEDB-connection.



Regards

Mikael Forssell
2 Replies
Not applicable
I'm looking for a solution for the same thing. I have a pdf form with fields bound to an xml file, but Acrobat will only import the data manually (Forms / Manage Form Data / Import Data) and Reader doesn't work at all.

Tech Support says that when in Livecycle, you're working in an xml environment, so the 'Preview PDF' works. Acrobat and Reader aren't xml environments, so they won't display the data.




What we need is a javascript programmer who can figure this out. Possibly using the remerge function. Anyone???

Don.
pguerett
Level 10
Level 10
To be able to merge data onto a form you can use a server based piece of software called LiveCycle Forms.



If your intention is to do this on the client side programatically there are no javascript commands that will allow you to do that without certifying the form. That would break the security model of acrobat/reader.