Display Message on UI
We have a PX that is validating data and when it finds something wrong we need to let the user know. Is there a way to broadcast a message to the UI telling the user what they need to know?
There are system messages displayed such as “Record has been saved or Part has been added”. We would like to access something like that in the banner on the current page.
Please find the sample code below .
return new ActionResult(ActionResult.EXCEPTION, new Exception(“Error Message”));
throw new AgileDSLException(“Error Message”);