Avatar

Level 10

You cannot automate the importing of an xml file (unless you certify and that has its own set of issues)  ....you can bring up the dialog and allow the user to choose a file but you cannot programmatically open it for them (against the security model). So the command woudl be xfa.host.importData("", false). The false parameter tells the dialog that you only want xml extensions otherwise you will get xdp extensions instead.

Paul