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.
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.
I think 'ActivityStatusError' is the rule you are looking for to customize the error screen. You can confirm that using developer tools(F12), you can get the section name from here.
As i see you tried modifying the rule already, but looks like it is not getting picked up when accessed through SSO. If possible try tracing the session and see which ruleset section stream is getting picked.