
- 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 11:00 AM
Below article should help
https://community.servicenow.com/community?id=community_question&sys_id=893607a1db1cdbc01dcaf3231f961989
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2018 11:05 AM
First thing that you would need to consider is if the external website allows it to be iframed.
After that then if it does then one thing you could do is create a UI page that contains an iframe element that points to the external website.
Once the UI page is complete then your url (whether it be for a module or just linking) would be constructed something similar to this:
nav_to.do?uri=/nameOfUIpage.do
or
nav_to.do?uri=%2FnameOfUIpage.do

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2018 11:51 AM
That was their suggestion. How do I setup a UI to open a website in a fram.
- 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.