Scroll

Global Event: OnReportFailValidation

This server event is available in version 2017.1 and later.

The OnReportFailValidation server event occurs when a user attempts to edit or run a report which has errors. When a user edits a report which fails validation, a message dialog shows the user the list of errors with the report. This server event can be used to customize the error messages.

Signature

For custom code the args array is structured as follows:

args[] contains one argument, the list of ValidationErrors. A ValidationError is an object containing an enum for the error type, and two strings for more detailed message information about the error. The message strings can be a text string or a language file id element.

For .Net Assemblies the method signature is as follows:

string EventHandlerName(SessionInfo sessionInfo, List<ValidationErrors> errorList)

Expected Return

The OnReportFailValidation server event expects a List<ValidationErrors> return object.

The list of error types is as follows:

DataObjectNotFound,
SortDataFieldNotFound,
FilterDataFieldNotFound,
LinkedDataFieldNotFound,
MinMaxFilterDataFieldNotFound,
JoinDataObjectNotFound,
JoinNotFound,
JoinDataFieldNotFound,
ChartDataFieldNotFound,
MapDataFieldNotFound,
CellDataFieldNotFound,
RowGroupNameNotFound,
RowGroupFormulaNameNotFound,
ChartCellIdNotFound,
MapCellIdNotFound,
MergedCellsAcrossSections,
CrossTabIdNotFound,
CrossTabCellIdNotFound,
ColumnSortByFieldNotFound,
ChildReportNotFound,
ExpressViewColumnMissingEntity,
ExpressViewColumnMissingField,
ExpressViewGroupMissingField,
ExpressViewFilterMissingField,
ExpressViewChartMissingField,
None


Hidden Article Information

Article Author
Exago Development
created 2017-05-15 14:48:04 UTC
updated 2017-06-27 14:37:39 UTC

Labels
Server Events, list of server events, report, reportfail, fail, validation, reportfailvalidation, failvalidation,
Have more questions? Submit a request