
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2018 10:18 AM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2018 12:23 PM
A basic setup would be something like this:
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2018 01:24 PM
It works with example.com but not my site. I'm guessing like google it does not allow iFrame.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2018 01:40 PM
I apologize if I was unclear earlier, but that was my first comment; the site has to allow to be iframed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2018 01:59 PM
It does if I'm already logged in but that defeats the purpose of the users not being able to see the URL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2018 01:46 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2018 06:30 PM
Awesome! I'm glad it worked out.