Question

1
Replies
102
Views
PrateekSinghRajput Member since 2016 1 post
Capgemini
Posted: 1 month ago
Last activity: 1 month 2 weeks ago

Display warning message when user clicks outside the perform harness

I have a requirement where I need to display a pop-up message on screen whenever user click outside the perform harness. For Eg: I am working on an assignment of my case type then suddenly I click on any menu item in left side navigation panel( Dashboard, Reports etc) then immediately i should be prompted with a message to save my work before leaving. I already tried "onbeforeunload" function in js and plugged the respective js in perform harness but it only fires the pop-up on [Cancel] [Refresh] events but not on switching away from perform harness. Any suggestion would be appreciated.

 

***Edited by Moderator Marissa to update General to Product***

Pega Platform 8.3.4 User Interface Consumer Services Senior System Architect
Share this page LinkedIn