Redwood UI validation error in OnBeforeSaveEventListener
in Sales
Summary:
In Redwood UI, we need to perform validation when attempting to save a sales record (for example opportunity) and trigger an error incase specific data conditions are not met. Understand the errors should be included in the return parameters in format "@return {{row:any,errors:any[]}}". In this, what is the structure in which the error message (example : xyz data does not match the required format) should be specified ?
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0