Import XML data at load of PDF form | Community
Skip to main content
NL_Erik_G
Level 2
April 22, 2010
Question

Import XML data at load of PDF form

  • April 22, 2010
  • 16 replies
  • 77178 views

[Thread Edited By Adobe]

/*Don’t forget to meet and greet your fellow peers virtually by telling them about yourself here

Go ahead and to it now: https://adobe.ly/3eDnB4v */

 

Actual Question:

Not sure that this is the correct forum, but it looks like a good place to start.....

 

This is my question:

 

At this moment we use an MS Excel file that runs a macro at startup that imports fielddata from an external xml-file. So, a user that opens the Excelfile will not have to fill in customer-data that is supplied by the xml-file. It is automaticly filled. For example Customer name, address, postcode etc.

 

Now, we have created a simular form in Adobe Livecycle, but we cannot get the xml-data to be imported just like the Excelfile does.


Is it possible, and how is it done, to open a pdf-form, import data from an external xml-file, all without user interaction?

 

Hope that my question is clear. Please advise

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

16 replies

October 13, 2010

I believe the difference is that you need to extend the form to allow people with reader to have additional permisions. You can do this

either from reader extensions or from Acrobat itself (but there are limitations to using acrobat, eg how many times the

form can be used)

edit: i just noticed that this was mentioned before

March 21, 2012

hi,

I want to open the "Open File Dialog" using JavaScript to import xml data.

I've tried with  "xfa.host.importData();" but the button does not work.

There is another way to do that?

Thanks,

ChangoPlatense

July 6, 2012

Hi Srini,

               How to use this in Javascript for automate...

Thanks in advance

September 21, 2012

Hi, what kind of command is it? Can I use it in VBA? What reference i need?

Thank you

March 14, 2014

Dear Srini,

we are using Excel 2010 to store patient database. We have now designed a PDF form in Adobe designer 7.0 on which we want to pull patient details like Name, Address & contact details from the excel 2010 file and populate the fields on entering the Patient ID. OS on one of my desktop is Windows7 &  another desktop with XP servicepack 3. Please help me in creating this link. By profession i am an Ophthalmologist hence dont have much idea about connecting databases.so will need detail explanation. let me know in detail how to create the ODBC connection. Thanks in advance.

January 5, 2016

I have installed 30 days trail version of "Adobe Arcobat DC" (15.009.20079)

I have the XML file as well.

I don't see Import Data button.

What I want to try:

Prepare PDF template/s.

I have My Data in XML format.

I want to load this "Data" into PDF template,send it for review, if approved sign it and print.

Let me know if commercial adobe product is available for the same task.