Embedding ServiceNow KB Articles within an Iframe

Dave M
Tera Contributor

Hi Folks!

We have a website that we would like to embed ServiceNow articles into. I believe the place to do it is within the system properties: glide.ui.concourse.onmessage_enforce_same_origin_whitelist

I added the domain for the site, then tried the direct URL of the site I'd like the KB Article to show within and it doesn't appear to work. Has anyone tried this and been successful? Help would be greatly appreciated!

1 ACCEPTED SOLUTION

Pranesh072
Mega Sage
Mega Sage

You can use the  glide.set_x_frame_options  property. Go through the article before implementing.

 

https://docs.servicenow.com/bundle/paris-platform-administration/page/administer/security/reference/...

View solution in original post

7 REPLIES 7

John VanBruggen
Giga Guru

I believe the system property you are looking for is actually glide.html.enable_media_sites

ServiceNow gives the following descrtiption for it:  "This will allow the websites listed to be displayed in an iframe"

It worked for all the different domains we wanted to add into an iFrame.

 

Let me know if this works for ya.

Check out my Consultant's Survival Guide
https://youtube.com/watch?v=zYi8KhP9SUk

I may have misunderstood your ask... Are you trying to add iFrames into an article or are you trying to add NOW articles into another site?

 

Check out my Consultant's Survival Guide
https://youtube.com/watch?v=zYi8KhP9SUk

Ahh I was looking for a conditional way to do this instead of 'all or nothing' with the other property. Thank you for sharing!!!!