Question
Cognizant Worldwide
IN
Last activity: 2 Aug 2017 11:35 EDT
Page does not refresh once modal dialog is submitted on a mobile device
We have a portal which is to be displayed across different devices. The page has a link which launches a local action using the template pzModalTemplate in the Work- class.
The submit and cancel buttons defined in the section aren't actual buttons. They are pzModalButton controls.
When the modal dialog is submitted certain flags are set which affects the visibility of elements on the parent screen. As Pega does a screen refresh on submit on a desktop browser, the changes are seen instantly. However the modal dialog does not close on click of the submit button (the flow action post activity/data transform to set the flags gets executed though) on a mobile device. As a result the screen does not refresh automatically and only after manually reloading the page are the changes seen.
Has anyone faced a similar issue before ? If yes, then what was the solution ? Did you create your own template section and put an enforced refresh on click of the submit button ?