General rule schema - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

Every validation rule interface definition in Data Validator implies the IVTLValidationRule.

  • If the rule validates a class definition, then the rule interface implies the IVTLValidationRule.

  • If the validation rule is related to a property definition to validate a property, the rule interface implies the IVTLPropertyValidationRule first, which then implies the IVTLValidationRule.

Each new rule interface must be implied by the IVTLValidationRule interface definition, so that the new rule can be discovered when creating rules. Any property definition can be used on the rule, as long as it is scoped by a default Data Validator value. If the rule is set up correctly, the rule set section of the Data Validator Administration module displays the new rule and allows dynamic entry of the property values.

The following image is an example of the schema structure for rules:

The following image is an example of a valid rule.