- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2019 06:34 AM
We are trying to display an external website in a Service Portal page. I have read some posts on here regarding using the CMS iFrame but with no success.
Is there a 'best-practice' way to do this in Service Portal?
Solved! Go to Solution.
- Labels:
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2020 02:23 AM
Hi Mukesh,
This is simple, you can use iFrame, object or embed in HTML5. Here is an example of emBed.
Step1. Create a "Macro variable" on catalog item
Step2. Create a Widget to store your embed HTML source and add widget to macro variable
Output:
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Cuong Phan
DXC Consultant.
Cuong Phan
ServiceNow Technical Lead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2019 06:59 AM
Hi,
You could create a new widget and refer your website within an iframe. Iframe is one way to do it, There are other HTML5 tags like object, embed etc which could also be used to achievt the same. Iframe has several drawbacks due to which it is not a recommended practice.
You can refer these links for syntax

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2020 02:23 AM
Hi Mukesh,
This is simple, you can use iFrame, object or embed in HTML5. Here is an example of emBed.
Step1. Create a "Macro variable" on catalog item
Step2. Create a Widget to store your embed HTML source and add widget to macro variable
Output:
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Cuong Phan
DXC Consultant.
Cuong Phan
ServiceNow Technical Lead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 10:26 AM
After following this instructions I only get an error saying that X website refused to load. do you have any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2021 10:58 AM
Hi Cuong,
I am not finding the option for the variable type as Macro with label in Quebec version?
Regards,
Shailesh