Let's say I have a pdf form file created with livecycle and xml file which was created by submitting the data filled in the pdf file. I would like to programmatically merge the xml file and an empty source pdf file to create filled pdf file. How can I accomplish it?
Also is there a way to do it manually?
Thanks in advance.
There are a few ways to do this.
1. In Acrobat/Reader there is a menu item to allow you to import a data file into the current document. Look under the Forms/Manage Form Data/Import Data menu item.
2. You can put a button on the form to perform the same function. The code that woudl go on th eclick event woudl be xfa.host.importData()
3. If you want to do this on the server side then you would need a LiveCycle server side product called Forms that would merge data and form together.
Hope that helps