NikitaK4 Member since 2019 2 posts
Alfa Bank
Posted: February 28, 2020
Last activity: March 2, 2020

How to close an opened browser window?

Hi all!

I have a button on portal, that opens a new window in browser with "Open URL in Window" action. And there is requirement to close the opened window when user completes assignment on main window. How to achieve this?

I know about window.close() method in javascript, but it needs reference to opened window, and I don't know how to get this reference.

Thanks in advance.

Pega Platform 7.2.2 User Interface System Architect
Share this page LinkedIn