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

How to import the XML Data into the Adobe Reader 8.0

mahes
Registered: Feb 21 2008
Posts: 6
Answered

Hello All,

Any one help me to clarify my doubts..

I am new to the Adobe LiveCycle Designer ES 8.1. Since i created Forms in the designer and send across XML file to the Email.

It is possible to import the XML File (from the email) into the Original PDF file.

Any help would appreciated...

thanks

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, The "Forms" menu has both import and export options for moving data in and out of forms.

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

mahes
Registered: Feb 21 2008
Posts: 6
thomp wrote:
Yes, The "Forms" menu has both import and export options for moving data in and out of forms.
Hello thomp,

Thanks for your kind information...
Ok. Since i installed Acrobat Reader 8.1.2 Latest version in my machine.

But i haven't see any menu like "Advanced - > Forms - > Import " . Could tell me is it possible to import the xml file into the PDF File using Acrobat Reader 8.1.2. If you say ok how can do this? Or how can i will be achieve.Advance thanks..

Thanks & Regardsmahes

Online
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Ahh, you didn't say you wanted to import/export in Reader.

First, the PDF has to be Reader Rights Enabled. You can do this in Acrobat 8 Pro before sending out the Form.

Importing and exporting data in Reader has to be done with JavaSrcript. You can add two buttons to the form, one for importing and one for exporting. The code is very simple:

Code For Export Button:

xfa.host.exportData();


Code For Import Button;

xfa.host.importData();


In both cases the user has to use a file dialog to find the import/export folder and file. Look this function up in the "XML Form Object Model Reference"

However, since you are using LiveCycle, you can also use the "DataView" tab in LiveCycle Designer to explicitly connect the form to an XML file.

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