-
1. Re: XML database not loading
BR001 Feb 28, 2014 9:30 PM (in response to sgthudsonkj)Hi,
By xml database do you mean an xml file specified in the Form Properties preview data file? If so you will need to use Acrobat open the pdf and import the data file, then save as a Reader Extended PDF, which is on the "Save As Other" menu.
Regards
Bruce
-
2. Re: XML database not loading
sgthudsonkj Apr 29, 2014 6:35 PM (in response to BR001)After using this fix, it appears that when the file changes it doesn't pull in the new database information. Anyway to fix this?
-
3. Re: XML database not loading
George Florentin Apr 30, 2014 6:27 AM (in response to sgthudsonkj)The question remains: What do you mean by xml database?
-
4. Re: XML database not loading
sgthudsonkj Nov 10, 2014 9:58 PM (in response to George Florentin)I have an external program that creates an xml file. I don't know how to define the xml file as a database. But I am looking for the form to pull information from the file every time it loads so if the xml file changes the autofill data in the form also changes. I can upload an example of the file if you would like.
-
5. Re: XML database not loading
radzmar Nov 11, 2014 6:46 AM (in response to sgthudsonkj)It is as Bruce already said.
You have to import the external XML into your form. If the file has changed, you'll have to import it again I'm afraid.
-
6. Re: XML database not loading
sgthudsonkj Nov 11, 2014 8:45 AM (in response to radzmar)There is no macro or script I can run to reload it on open?
-
7. Re: Re: XML database not loading
radzmar Nov 11, 2014 10:22 AM (in response to sgthudsonkj)You can use the importXFA() method to import data via scripting.
this.importXFAData("../MyFormData.xml");Note: This script cannot be run directly from a button in your form.
You'll have to call it from a privileged context like the console window or a folder level script.

