- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 06:35 AM
if ( g_form.getDisplayBox('business_application').value == 'Phoenix - General'){
alert('You will be redirected to "OneAccess" to request access to this application. \n\n IMPORTANT: Before Phoenix can be used, the Prime application must be installed from the App Shop.');
top.window.open("https://isimserver.fpl.com/itim/ui/Login.jsp");
top.window.open("https://neesnprod.servicenow.com/espid=sc_cat_item&sys_id=9da9b155872b8150324f0fa6cebb35bd");
g_form.clearValue('business_application');
}
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 07:07 AM
hi
I think there is no change required in your script because you just need to allow the Pop-ups and redirects in your browser.
Let me know if you need more help,
Thanks,
Murthy
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 07:05 AM
Hi Sravya,
try 'top.window.location' and see if it works.
Please mark this as correct answer if it resolved, or mark this helpful if this help you to reach towards solution.
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 07:48 AM
Hi Anubhav,
Thanks for your response.
Tried the above suggestion, but no result.
In the below two links, only first one is getting redirected and opening in a new tab. But second link is not being redirected.
top.window.open("https://isimserver.fpl.com/itim/ui/Login.jsp");
top.window.open("https://neesnprod.servicenow.com/espid=sc_cat_item&sys_id=9da9b155872b8150324f0fa6cebb35bd");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 07:07 AM
hi
I think there is no change required in your script because you just need to allow the Pop-ups and redirects in your browser.
Let me know if you need more help,
Thanks,
Murthy
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 07:58 AM
Hi Murthy,
Thanks for your response.
Pop-ups and redirects are allowed in my browser.
In the below two links, only first one is getting redirected and opening in a new tab. But second link is not being redirected.
top.window.open("https://isimserver.fpl.com/itim/ui/Login.jsp");
top.window.open("https://neesnprod.servicenow.com/espid=sc_cat_item&sys_id=9da9b155872b8150324f0fa6cebb35bd");