Nikita Kabirov (NikitaK4)
Alfa Bank

Alfa Bank
NikitaK4 Member since 2019 2 posts
Alfa Bank
Posted: February 28, 2020
Last activity: March 2, 2020
Posted: 28 Feb 2020 2:34 EST
Last activity: 2 Mar 2020 9:29 EST

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 Experience System Architect
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.