These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Extracting PDF form data as XML file

halo80
Registered: Mar 7 2008
Posts: 4

I'm developing a form in LiveCycle which will be filled out by clients and emailed back to our headquarters. I would like to have a button (intended for "office use only") that would extract the data from the form and place it into an external XML which would then be used to import into an Access database.

I'm able to create an XML document as an email attachment, but this isn't the option I'm able to use and I'm having great difficulty finding the method that would create just an XML file.

Is this even possible with LiveCycle?

Any assistance would be greatly appreciated. Thanks.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
There are actually several different ways to do this. The easy way is to use the Acrobat forms menu option, "Forms > manage form data > export", and then select XML as the output.But you could also use the Data View tab in LiveCycle Designer to attache the form to an XML schema, or even a Specific XML file. Then use a JavaScript Automation script to export the data when you get the file back. There are several variations on this scheme, but they all require some scripting.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script