Question

3
Replies
432
Views
Close popover
Ravi Kumar Pisupati (Ravi Kumar Pisupati)
Optum
Principal LSA - Pega
Optum
US
Ravi Kumar Pisupati Member since 2015 85 posts
Optum
Posted: July 14, 2020
Last activity: July 14, 2020

How to detect the browser’s close button in browser tab?

Hi,

I have a non Pega application launching a Pega application from any browser but they both are running in 2 different tabs of same session. Now I want to close the Pega application from the browser tab using “X” button  but I want to make a server call while closing the browser tab. Tried all possible ways mentioned in the PDN and tried with HTML/JS but no luck. First of all, I am unable to detect the browser’s “X” button. Can any of the experts pls help me? Pls don’t post/show any existing PDN articles in this discussion since I did check end to end in PDN site. Pls help me for those who got successful in this don’t context. That way the time will be saved for both of us.

Thanks,

Ravi Kumar.

***Edited by Moderator: Pallavi to update platform capability tags***  

Pega Platform 7.2.2 DevOps User Experience Healthcare and Life Sciences Lead System Architect