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

It works with example.com but not my site.  I'm guessing like google it does not allow iFrame.

I apologize if I was unclear earlier, but that was my first comment; the site has to allow to be iframed.

It does if I'm already logged in but that defeats the purpose of the users not being able to see the URL.

unless there is something different you have to do with a login page.  If I login with the same browser first the site content does show in iFrame but we can to use iFrame so we can restrict better where the techs can go on the site.

ChrisBurks
Mega Sage

Awesome! I'm glad it worked out.