Document-level events are associated with Interactive Reporting and Interactive Reporting Web Client documents.
Actions that invoke predefined document-level events:
OnStartUp—Opening an Interactive Reporting document
OnShutDown—Closing an Interactive Reporting document
OnPreProcess—Before a query is processed
OnPostProcess—After a query is processed
The execution of document events can be enabled or disabled by using options in Script Editor programmatically through the object model.
Note: | The Save and Save As commands in Interactive Reporting Studio, Interactive Reporting Web Client, and EPM Workspace do not execute the document shutdown scripts. The scripts execute only when documents are closed. |
Caution! | OnShutDown events execute before the prompts of the Save dialog box. |