Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Pre-Populate field with a local XML

Transcon_Guy
Level 1
Level 1

Hello,

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?

Thanks!

2 Replies
Steve_L_Walker
Level 10
Level 10

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

Steve

Transcon_Guy
Level 1
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.