Posted: 30 Aug 2018 17:09 EDT Last activity: 4 Sep 2018 16:43 EDT
How can I determine the HTML name of a window opened in PEGA?
My application has an attachments popup window that can cause users to open quite a few popup windows as they open the attachments. I have a requirement to close those child windows upon closure of the parent attachments window.
window.open("www.someURL.com", "THIS IS THE VARIABLE I NEED", "width=400, height=300")
I had assumed this would be the "Window Name" property under window properties but that does not appear to be the case.
The window name field in the "Open URL in Window" configuration is actually not the html <title> tag. It is rather the window.name of html.
The window name field in the "Open URL in Window" configuration is actually not the html <title> tag. It is rather the window.name of html. Hence this field cannot be used to set the pop up window title.
Please check below links which may provide you some help.