Validation rules on SmartObject input properties that validates input values server side whenever a SmartObject is executed
Currently all validation rules that are built in SmartForms are executed client side which is not great for data integrity.
Seeing that SmartObjects are seen as the data layer, it would be great to be able to configure validation rules on input properties as part of the SmartObject's design.
Examples of Validation types that should be available:
Regular expressions (ex email address, social security number, etc)
Value comparisons - Ex Value < 100
Property comparisons - Property1 >= Property2
Once a SmartObject is designed with these validation rules, the validation should be executed server side whenever the SmartObject is executed at runtime and validate the input value.
This would improve data integrity substantially as the validation would take effect through SmartForms, workflows, OData API and custom c# applications making use of the SmartObject client API and would ensure that business data is always in the expected format/range and that there is no way to bypass validation client side.
To further strengthen the feature, SmartForms can automatically consume validation rules configured on a SmartObject to show validation errors when a field is linked to a SmartObject property so that the Forms/View designers do not need to build validation into every Form/View that consumes the SmartObject.
