Hi,
here is a question about importing data from a xml-file using the xfa.host.importdata
A tool we use generates a copy of a 'template'-pdf an put it into a unique folder. This unique folder will contain:
(1) a Batch-file
(2) a fillable, certified, reader-enabled pdf
(3) a xml-file containing data for the pdf
The batchfile will run a command 'start iexplore.exe file://C:/Doc.pdf?Address="C:/Doc.xml"
So, the Internet Explorer will be started, opens the local PDF and creates a parameter with the location of the xml-file.
So, now is my question how to make it work that in the DocReady-event the command xfa.host.importdata(); will be executed pointing to the xml-file. It should be like xfa.host.importdata("C:/Doc.xml");
If I put the command in the click-event of a button, it works fine, but I need help with setting up that command using the parameter.
Thank in advance!
Erik