Posted: 12 Feb 2019 11:47 EST Last activity: 1 Apr 2019 4:55 EDT
Opening a link in Modal Window
I have a link to an external UI application (non-pega) which I need to open in a Modal Window on click of a link. I am reading some of the other posts where openUrlInDialog or window.showModalDialog will not work in some of the browsers. Also I can see openUrlInDialog is deprecated. Is there a way I can launch the external application in modal window? I have to use modal here because I wanted to refresh the parent window with some service calls once the modal is closed.
Please suggest if there is a way to achieve this.
***Edited by Moderator Marissa to update platform capability tags****
Thanks for the response. Currently I have openURLinNewWindow but the issue is that once the job is done in the new window, there has to be some refresh before user continues in the main window. Users sometimes forgets to click the refresh and it breaks the flow.
If I am okay with the submit/cancel button, does the functions openUrlInDialog or window.showModalDialog are usable? I am reading posts where it works in some browser and not in others. Also its a deprecated one.