Expand my Community achievements bar.

Pre-Populate field with a local XML


Level 1


What I want to achieve is to pre-populate fields on the opening of my PDF with an XML. It seems I have the choice between xfa.host.importData("filename.xdp") or xfa.datasets.data.loadXML(filename.xml,0,1).

I know Acrobat have a limited access to filesystem for security and I don't want to start a web server.

My question is Acrobat Professional have a default location to look if no path or HTTP address is provide?


2 Replies


Former Community Member

I believe the answer is "it depends" where the dependency is the OS and OS version hosting Acrobat/Reader.



Level 1

Thanks for the reply,

Ideally on MacOS 10,6 (Xserver). If it does not work on a Mac environment I can use Windows Server 2003 R2.