Question

4
Replies
528
Views
DashiellH Member since 2016 4 posts
Bank of America
Posted: August 30, 2018
Last activity: September 4, 2018
Closed
Solved

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.

I have written JavaScript that given an array or CSV list of window names close them. I have successfully tested this in I.E. sandbox. I also have all the framework to store these window names if i am able to determine them.

We are opening these windows via an event-action pairing in the UI using "Open URL in Window" which calls an activity that does a "show HTML" step. I need to determine what Pega is going to name this window per the JavaScript function:

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.

Please and thanks :)

User Interface
Moderation Team has archived post
Share this page LinkedIn