Implementation of the Pega Mashup - disabling the browser back button
Introduction:
The attached document is the lesson learned for future reuse with the implementation details for disabling the back browser button from Pega Platform.
Use Case:
The Pega Platform does not support the browser Back and Refresh buttons due to the security concerns. Having the Pega Mashup with e.g. a screen flow, or with the New Harness, users try use the browser back button to navigate to an either previous user form in the screen flow, or a previous step in the case type, what brakes the Pega assignment. The implementation from this document presents how to disable the browser back button to the user, so either the screen flow navigation, or an assignment navigation will be the only one option to navigate in a case lifecycle.
More about the support of the browser buttons in the Pega Mashup here: https://community.pega.com/support/support-articles/browser-back-and-refresh-buttons-do-not-work
***Edited by Moderator Marissa to add the Developer Knowledge Share tag***