For security reasons, if you provide the first parameter, the exportData method executes only when performed on certified documents. If you do not provide the first parameter, the document does not need to be certified and the user is prompted to provide a location and file name.
param1 (Optional) Specifies the location and file name of the file where the data will export. If you omit this parameter, a dialog box opens to let the user select the file manually. param2 (Optional)
• true | 1 (JavaScript) or 1 (FormCalc) (Default)
Note: To change the export type without specifying a file name, you must provide an empty string as the first parameter. For example:xfa.host.exportData(“”,0); //JavaScriptxfa.host.exportData(“”, 0) //FormCalc