Object validation in JavaScript Actions

0
Hello everyone, I'm trying to validate the changes to an object inside a javascript action in which I need to perform the following checks: Are the validation rules specified on the entity met? In the case of String attributes: Does the new string length not exceed the maximum string length as defined in the attribute?   I took a deep dive in the documentation but so far I've only managed to trigger the entity validation rules when in the context of a form (e.g. by listening to the submit of a specific form in which the object is used). This is however not a viable solution for my use case.  Any insight into how these validations can be performed from a Javascript action will be appreciated.  Thanks & Regards, Coen
asked
0 answers