Expand my Community achievements bar.

Merge xml from pdf file with it.

Avatar

Level 1

Hello,

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.

2 Replies

Avatar

Former Community Member

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

Paul

Avatar

Level 1

Thank you for reply.

I am interested in doing it programmatically at server side. Can I achieve it with Form Data Integration Service?

Thanks.