JSRecordMarker
Last updated
Last updated
The JSRecordMarker
scripting wrapper represents a specific validation failure report for a record during a save operation. It allows detailed reporting of issues tied to particular columns or data in a single record. ## Functionality
The customObject
property stores a user-defined object associated with the record marker, enabling the inclusion of custom metadata. The dataprovider
specifies the column where the issue occurred, providing precise error localization. Message handling includes the message
property, which holds the problem description and can be an internationalization (i18n) key, while the i18NMessage
property resolves the i18n key when applicable.
The level
property indicates the logging level assigned to the record marker, classifying the severity of the issue. The record
property links the marker to the specific record it references, facilitating direct association with the affected data.
This wrapper is closely related to JSRecordMarkers, which manages validation states and aggregates multiple JSRecordMarker
instances for broader reporting and validation workflows.
Type | Name | Summary |
---|---|---|
The custom object the users did give the the JSRecordMarkers.report() method.
Type Object the customObject
The column of this record where this problem is reported for.
Type String the column
The the resolved i19n message if the message was an i18n key.
Type String the resolved message
The LOGGINGLEVEL the users did give the the JSRecordMarkers.report() method.
Type Number the level
The message of this problem, can be a i18n key, see getI18NMessage() for a resolved one.
Type String the message
The record for which this problem is generated.
Type JSRecord the record
The custom object the users did give the the JSRecordMarkers.
The column of this record where this problem is reported for.
The the resolved i19n message if the message was an i18n key.
The LOGGINGLEVEL the users did give the the JSRecordMarkers.
The message of this problem, can be a i18n key, see getI18NMessage() for a resolved one.
The record for which this problem is generated.