Question
RBC
CA
Last activity: 11 Apr 2017 2:49 EDT
In Pega 7.1.7, how to mention target window in "Open URL in window"? it always opens in a new window
I need to open an external site from my application and it must open in the same window (portion of the screen). I tried open url in window but it open the site in a new window, any way to mention the target window / frame name ?
Message was edited by: Marissa Rogers - Added Category (4.25.16)
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Rules Cube Inc.
CA
HI Sivam,
In that Open URL in Window pass parameter value for "window name" as _self, it will open your replaces your current window.
Thanks
Venkatesh G
-
Arpan Roy
RBC
CA
I tried it already and did not work and I think the window name parameter is the name for the new window to be opned, it is not taking it as Target frame.
GovCIO
US
Hello Thamarai,
I think you are trying openUrlinwindow() in your HTML/Java Script and I hope you did try using window.open() as well. If not, why don't you give a try and see if that solves your problem.
Eg:
function GetMyAlerts() {
var strUrl = servletURL + "?pyActivity=Code-Pega-PAL.PALGetDetail";
window.open(strUrl, "_blank /_self", "toolbar=yes, scrollbars=yes, resizable=yes, top=500, left=500, width=400, height=400")
}
But, if you still want to use openurlinwindow() function as per your requirement then we will see the experts suggestions/directions on this. I am also interested to know on how the target frame/window can be given in this function.
Thanks,
Ravi Kumar Pisupati.
Tech Mahindra
CA
Hi Sivam,
Any luck with this using OOTB. ??
Murex
LB
Hello ,
I have the same issue.
Were you able to solve it?
Thank you,
Mariane
Pegasystems Inc.
US
Hi Mariane,
Thank you for posting your questions on the Product Support Community.
Considering the age and current status of conversation in the original thread, it’s best advised that you create a new thread for your question. This is to gather more activity and visibility for the new question on the community.
You may include the original thread as a reference in the newer thread.
Thank you for your cooperation.
Marissa | Community Moderator | Pegasystems Inc.
Navy Federal Credit Union
US
if you are trying it from HTML/Java Script window.open() should work,
CTS
CA
I do want this functionality to be implemented for my application.
Kindly share the HTML code
Pegasystems Inc.
IN
This configuration is opening in a new pop up window
Check all the checkboxes so that it opens as a new tab in the current frame for opening in new tab to work on chrome
Check all the checkboxes and also window size fields so that it opens as a new tab in the current frame for opening in new tab to work on IE
Basically this approach has been taken from what internally happens during click of "Launch" in DS to launch portal
Opening in new tab in Mozilla did not work with this approach(even portal launch doesn't happen in new tab when opening from DS in Mozilla for that matter)
It would have been nice if a separate check box has been provided
This configuration is opening in a new pop up window
Check all the checkboxes so that it opens as a new tab in the current frame for opening in new tab to work on chrome
Check all the checkboxes and also window size fields so that it opens as a new tab in the current frame for opening in new tab to work on IE
Basically this approach has been taken from what internally happens during click of "Launch" in DS to launch portal
Opening in new tab in Mozilla did not work with this approach(even portal launch doesn't happen in new tab when opening from DS in Mozilla for that matter)
It would have been nice if a separate check box has been provided
This is with reference to In Pega 7.1.7, how to mention target window in "Open URL in window"? it always opens in a new window through which URL can be opened in a new tab