The CreatorCon Call for Content is officially open! Get started here.

how to customize data policy exception message

vps
Tera Contributor

There is a policy to make state field read-only.

Whenever a user goes to list page and tries to update the state. SNOW gives exception "Data policy Exception: State is read only".

Is there a way to customize is this message.

Please refer the screen shot.

6 REPLIES 6

Kalaiarasan Pus
Giga Sage

You can replace data policy with a equivalent business rule if the message is a big inconvenience. But I would suggest you to rather do the validation on the client side functions and display a meaningful message instead. I use data policy more like safety net to do server side check.


I'm not sure if a business rule would work for a list edit.   I'm looking for a way to edit the message as well.   We have a lot of embedded lists on our Change Request form and I have a data policy that just says "Data Policy: Role exception is required"   I would love to update this to tell the user what tab that is on as well, etc.   Just more info.