Exago Logo
Search
Generic filters
Exact matches only

Global Event: OnAfterReportExportSuccess

The OnAfterReportExportSuccess event (v2018.2.14+, v2019.1.1+) will be called after a report execution export file has been generated for a specified report. The server event implementation may load the export file from disk using the supplied file path, exportFilePath, modify the file, then save the changes back to disk. If the server event implementation saves changes to the export file, the file must be saved with the same filename that is passed in as the exportFilePath.

Caution

If the file is saved to a different path, modifications will not be honored by Exago.

This server event will be called for all report execution export files generated, including those generated via:

  • Execution in the web app process (remote execution disabled)
  • Remote execution
  • Scheduled execution (including those using the Scheduler Queue)
  • Batch scheduled executions
  • GetExecute()

It is compatible with HTML, PDF, RTF, Excel, and CSV export types.

Signature

For custom code the args array is structured as follows:

args[] contains two arguments: args[0] should contain a string representing the file path of the exported report, and args[1] should contain a wrExportType object representing the export type of the report.

For .Net Assemblies the method signature is as follows:

void EventHandlerName(SessionInfo sessionInfo, string exportFilePath, wrExportType exportType)

Expected Return

The return value of this event is ignored.

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents