Question

6
Replies
4191
Views
ndoyd Member since 2011 8 posts
PEGA
Posted: 3 years ago
Last activity: 2 years 4 months ago
Closed
Solved

How to close a Harness Popup window on click of Submit button

Hello,

As part of our case, we have a Link in a section that opens a new Harness in new Pop-up window.

As a requirement we need to close the Harness pop-up window on click of Submit button.

We've already tried below option but it didn't work :

- Name the Harness Window field like "QSDocument" in the Action set of the Link

- Use a specific javascript to close explicitly the window with below code

var openedWindow;
function openWindow() {
openedWindow = window.open('QSDocument');

}
function closeOpenedWindow() {

openedWindow.close();

}

- Use Run script to call closeOpenedWindow as an Action in the Submit button to close the window

It unfortunately didn't work.

Do you know any other way of achieving this requirement ?

Thanks,

Kind Regards,

Djibril

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

User Interface
Moderation Team has archived post
Share this page LinkedIn