0% found this document useful (0 votes)
548 views

Open External URL From EBS Menu

This document describes two tricks for opening URLs from an Oracle application. The first trick opens URLs in the same window, while the second creates a JSP file that opens URLs in a new IE window. The JSP file uses JavaScript to open the URL passed as a parameter in a new window and then go back in the browser history. The function is registered as an SSWA JSP function to allow URLs to be opened in new windows from the application.

Uploaded by

UbaidUrRehman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
548 views

Open External URL From EBS Menu

This document describes two tricks for opening URLs from an Oracle application. The first trick opens URLs in the same window, while the second creates a JSP file that opens URLs in a new IE window. The JSP file uses JavaScript to open the URL passed as a parameter in a new window and then go back in the browser history. The function is registered as an SSWA JSP function to allow URLs to be opened in new windows from the application.

Uploaded by

UbaidUrRehman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

html call= oksAutoRenewalHelp.jsp?thanks=www.cnn.

com solution works like a charm


. We used it in couple of our functions. However This trick opens the URL in sam
e window.
We had similiar requirement but we wanted to open some documents in New IE windo
w. So we did another trick for that requirement.
We created a jsp file with following code:
<script>
<%
out.println("var url=\"" + request.getParameter("URL").trim() + "\";");
%>
var load = window.open(url,'','resizable=yes');
history.go(-1);
</script>
saved it as XXGOpenURLNewWindow.jsp in $OA_HTML directory.
registered the function as sswa jsp function with
HTML Call = XXGOpenURLNewWindow.jsp
FORM (TAB) --> PARAMETER FIELD: URL=oksAutoRenewalHelp.jsp?thanks=http://erp8.am
c.com:9704/xmlpserver/AMC/HRMS/Employee%20Company%20Sim%20Details.xdo?_xmode=6&i
d=AMC&passwd=12345678
When a call is made to this function, www.cnn.com will open in new IE Window.

cd $FND_TOP/patch/115/bin
perl ojspCompile.pl --compile --flush -p 2

------------------------I got this to work. responding to this thread as I am sure there are several peo
ple looking for a solution
Type : SSWA jsp function
HTML Call : oksAutoRenewalHelp.jsp?thanks=oksAutoRenewalHelp.jsp?thanks=http://e
rp8.amc.com:9704/xmlpserver/AMC/HRMS/Employee%20Company%20Sim%20Details.xdo?_xmo
de=6&id=AMC&passwd=12345678

You might also like