Highlighted

Automatically Import data to form

Avatar

Guest

01-08-2008

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