Question


Cognizant Technology Solutions
NL
Last activity: 28 Jun 2019 3:37 EDT
Page Set Messages do not display in Modal Window
We are using Pega 7.3 version, for a local action we gave target as Modal Dialog. When an error occurs it is captured with Page-Set-Messages method.
Error message captured is not displaying in the modal window instead it is displayed in the background main screen and the modal window remains open.
***Edited by Moderator Marissa to update platform capability tags***


PEG
FR


Cognizant Technology Solutions
NL
Page Set Message is done in the post activity of the local action and it is called on the page where Modal dialog is used.


PEG
FR
Right,
And you cannot work with Property-Set-Message instead? Even an hidden property to force it into the MODAL?


Cognizant Technology Solutions
NL
Hi Marc,
We do not perform anything on the Modal window except the default Submit action.
Hi,
Below link might help you.
https://community.pega.com/support/support-articles/page-set-messages-do-not-display-modal-window


Cognizant Technology Solutions
NL
Hi,
Thanks for the replly, HotFix mentioned in the link is for Pega version 7.1.9 but we are using Pega version 7.3.0.
Hi,
could you please try embedding RULE-HTML-SECTION @BASECLASS DISPLAYERRORS in the model window section and share your observations, Thank you!
Accepted Solution


Cognizant Technology Solutions
NL
Thanks Gayatri that worked after embedding the DisplayErrors section in modal window.
Wc :)
Please get back to me if you need more info.
Hi Gayathri I included DisplayErrors section in modal window section, but Im getting error back.
The modal window which Im using is attachment one which is OOTB
Hello,
I think it depends on which page you are setting the error message. It has to be the page in use on the MODAL.