Question
How to customize Error Message
I'm trying to customize a Pega error screen "There has been an issue; please consult your system administrator" to contain a different logo, background color, message etc.
However I'm unable to find the rules where this screen is built.
So far I've found & tried the following:
- Adjusting ActivityStatusError Harness & Section
- Adjusting pySystemErrorInc HTML Fragment
I've adjusted the rules in both an Unauthenticated ruleset and in a Delegated ruleset within my application. But I'm still getting the same screen.
The error is currently presented after the user logs in via SSO, through a Pega Mashup (the error itself is caused by blocking 3rd party cookies). - I'm not looking to solve the error itself, but I want to be able to customize this error screen.
Does anybody know how to customize this?
Using Pega 7.4
Kind regards,
Jonathan
Hi @Jonathan
In our project we have created custom error message by creating message rule and reffering the same in the activity, which is mentioned in the Actions tab of the control.
For Instance, we are validating selection of checkbox which in grid repeat layout, on Click of Submit button without selection of checkbox we are displaying error message, to display this error message we have created one dynamic layout (for this Dynamic layout in General tab >>Layoutformat should be Other >> Mimic a sentence and Container Format should be Other >> Errors. PFA images)
in which we are displaying the message rule with name "CheckSelection".
In Activity using Property-Set-messages method we can call message rule. Hope this will help you.
Thankyou
Regards,
Surya Y