Report Designer: Events

 Note
This feature is recommended for advanced users only.

Add server events to a report with this dialog. Server events are custom bits of functionality created by the system administrator for a reporting environment.

Events dialog

An example of the Events dialog

  1. On the toolbar, click  Advanced, then click  Events to open the Events dialog.
  2. Click  Add to add a new event to the list.
  3. Choose a server event trigger from the Event dropdown list. Refer to Table A below for a description of the available server events.
  4. Choose a server event action from the Action dropdown list. The actions available here are determined by the custom code entered into the application by the system administrator.
  5. Click Okay to save the server event to the report and close the dialog, or Cancel to close the dialog without saving.

To remove a server event from a report, click the Delete icon on the corresponding row.

Table A — Server Event Descriptions

Server Event Name

Description

OnDataCombined

Called after all data is retrieved and combined from all data sources.

OnReportFailValidation

Called when a report fails validation while being loaded for editing or execution.

OnReportExecuteInit

Called after the report is loaded at the beginning of an execution, but before any processing has occurred.

OnReportExecuteStart

Called at beginning of report execution processing.

OnReportExecuteEnd

Called at end of report execution processing.

OnWebServiceExecuteEnd

Called after data is retrieved from a Web Service Method.

OnExecuteSqlStatementConstructed

Called after SQL statement due to report execution is constructed allowing any changes to be made.

OnFilterSqlStatementConstructed

Called after SQL statement due to filter dropdown is constructed allowing any changes to be made.

OnParameterSqlStatementConstructed

Called after SQL statement due to parameter dropdown is constructed allowing any changes to be made.

OnOkFiltersDialog

Called after Ok button in prompting parameter dialog is clicked.

OnOkParametersDialog

Called after Ok button in Parameter execution dialog is clicked.

OnLoadReportParameters

Called when the report parameters are loaded but before any processing has occurred.

OnScheduledReportExecuteStart

Called at beginning of scheduled report execution.

OnScheduledReportComplete

Called upon completed execution of a scheduled report prior to further processing regardless of whether or not the report executed successfully

OnScheduledReportExecuteSuccess

Called upon successful execution of a scheduled report prior to further processing.

OnChartPreRender

Called just before rendering a chart.

OnConfigLoadStart

Called just after configuration file is loaded.

OnConfigLoadEnd

Called after configuration file is loaded, any changes are made, and host application container is redirected to the reporting application.

OnRenameFolderStart

Called just before renaming a report.

OnRenameFolderEnd

Called after a report is renamed.

OnDataFieldsRetrieved

Called after data fields are retrieved for a specific data object.

OnGetUserPreference

Called to retrieve a user preference.

OnSetUserPreference

Called to set a user preference.

OnReportSaveStart

Called before a report is saved.

OnAfterLoadReportsList

Called after reports built in this application have been loaded into the report tree object, for the purpose of allowing additional items to be loaded into the report tree.

OnExceptionThrown

Called when an application exception is thrown.

OnExportCsvCell

Called prior to exporting a CSV cell for the purpose of overriding the standard export results.

OnAfterReportExportSuccess

Called at the end of a successful report export.