Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

ExportData - save window, cancel button

Avatar

Former Community Member

Hello.

I have a problem with the exportData method.

Consider a button control. On the Click method, I have the following code:

     xfa.host.exportData("", false);
     app.alert("Done");

When I click the button, the window for saving the file is displayed. If I save it, after the windows closes, the message is displayed. But if I press the cancel button on the save window, no code after the export is executed.

Can anyone help me with this problem? where should I put the code after the export so that it is executed in both cases (save or cancel)?

Thank you,

1 Reply

Avatar

Former Community Member

Looks like a bug ...can you open an incident with support? Here is a link to the support site so that you can open the incident:

https://www.adobe.com/cfusion/support/index.cfm?event=membership&returnURL=%2Fcfusion%2Fsupport%2Fin...

Paul