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

All I am getting is this when I try to go to the page.

find_real_file.png

Can you right click on the page and select "Inspect element" to see if there are errors?

I do not see any error on the page.

find_real_file.png

Google doesn't allow being iframed

I used https://example.com for this demo:

 

find_real_file.png