I have created PDF form using forms tools in acrobt 9. The form works fine. Now I want to export the form as XML the menu I have used manually is
Forms>Manage Form Data>Export Data
This command wont working in the button. Is there any other possible ways to do this
a r u l
saveAs needs to run from a safe context, so if you want to call it from a
button you need to first create a trusted function in a folder-level script,
and then call that.
If you want to export the form data, you shold not use the doc.saveAs method. You can use the doc.exportXFAData to export the form data to an XML file. Set the bXDP parameter to false.