Open external website in ServiceNow

Brian Lancaster
Tera Sage

I have a UI Action that pops an external website in a new window.  Is there a way to get it to open center frame like an when you open an incident?

1 ACCEPTED SOLUTION

A basic setup would be something like this:

find_real_file.png

 

the url to display within ServiceNow platform view would be in this case: /nav_to.do?uri=/ifr.do

Important note the external site must support "https", otherwise it won't work as it wouldn't be a secure site.

Other notes:

The styling that I used is so that the iframe would stretch both width and height. Otherwise you would need to style or script so that the iframe would be wide and long enough to view the external site.

View solution in original post

16 REPLIES 16

I didn't work for my requirements because the login page for that site does not work with iFrame but your code still works otherwise so if others need this they know what to try.

Brian,

You are definitely the kind of community member a community needs.