Question
Legato Health Technologies
IN
Last activity: 31 Jan 2019 7:52 EST
Launch of new window using RedirectAndRun activity
Got a functionality to open a popup on click of a link with a new thread. Configuration includes an action of "Open URL in window" on click of link wherein "RedirectAndRun" activity is called with a thread name, accessgroup name and purge thread set to true. Though this creates a popup (child window) with a new thread, any activity performed in the parent window closes the popup abruptly which is not the desired behaviour.
Our application is based on Smart Dispute Issuer framework. So, how exactly can I configure link to open a new window which isn't dependent on parent window, i.e, the popup window should be retained even when any action is performed in the parent window.
Note: This is an upgraded application to pega 7.2.1. For the same functionality in Pega 5.5, on click of link, there's a function declaration used in anchor tag as "javascript:top.application.launch();". Any insight about this function definition/code would be helpful.