Expand my Community achievements bar.

Automatically Import data to form

Avatar

Former Community Member
Hi,



I'm looking for a API which provides PDF and data merging function. Especially merging data with dynamic PDF file designed using LiveCycle 7.



Normally we merge our data by manually open the PDF file using Adobe 7, selecting from Adobe menu, Advanced --> Forms --> Import Data to Form --> then pick the user submitted XML data file --> save the file as XXXX.pdf. This process is working fine. What we try to do is to make it run programmatically.





What I want to accomplish is to automatically import the data file to the PDF file, then generate a final PDF file with data in. Using code similar to:





SourcePDF = C:\a.pdf;

SchemaFile= C:\ a.xsd;

DataFile= C:\data.xml;

DestinationPDF=C:\Final.pdf;

ADOBEUtility.GenerateFinalPDF(SourcePDF, SchemaFile, DataFile,Destination);



Is there anyone know where I should start?



Thanks a lot.

Lori
0 Replies