Question
Radial Inc
US
Last activity: 27 Apr 2020 17:02 EDT
How to focus Portal(main or parent) window after on click action performed in pop up window
Hi,
Once I logged into end user portal, I am opening a popup window using openurlinwindow on click action. Once popup is opened I display a list of work items. Now, on click of any of the record, it opens work item in review mode in end user portal (which is the source or main or parent window where popup window is opened from). Now, I want to bring the portal where work item is opened into focus (or bring into foreground).
I tried writing javascript using window.focus(), window.parent.focus(), also used pega.u,d.showHarness, also tried to setfocus to one of the elements but non of it had worked. Could anyone suggest on the approach please? Thank you in advance.
***Edited by Moderator: Pallavi to change content type from Discussion to Question***