The FDF format has an XML based "sibling: You can use XFDF to import and export data from a PDF form. To see what the XFDF file for your form looks like, just select More>Export Data... in Acrobat Pro DC:
On the dialog that pops up, select XFDF as the output format. You very likely will have to modify the XML data via XSLT to match the XML "flavor" you are expecting. You import XFDF via the "Import Data" menu item in the above menu.
That is exactly what i am looking for, can i add this as a button field in the form? So when a tech clicks the button , it pulls in the data? and when he pushes another button, it exports the new data?
I got the importAnXFDF("/C/Users/gdamato/Desktop/Programming in Java/New Test_data.xfdf") to work. I have a button on our PDF form (run Java) , that will retrieve the data written to the file "New Test_data.xfdf". (we have a program that will over write that file for each customer we choose).
I am trying to exportAsXFDF("/C/Users/gdamato/Desktop/Programming in Java/Temp",this.getField("CompanyData").value+".xfdx" )
note: "CompanyData is a valid field in the form
It keeps opening up a browser, for me to manually save the doc.
Read the documentation carefully, especially the Note...