Embed report/gauge/list in a KB article?

chadlockwood
Kilo Sage

I have a report that I would like users to be able to view when they open a KB article. I know can insert a link to the report, but I am wondering if it is possible to embed the report itself into the KB article. Likewise, would it be possible to embed a gauge and/or list of records in a KB article?

 

Chad

1 ACCEPTED SOLUTION

Joseph Stefani1
Tera Expert

Chad,



The following HTML tag may answer your question. The width and height can be anything you want. I used used these as an example.



<p><iframe width="650" height="800" src="put link here"></iframe></p>



Example:


<p><iframe width="650" height="800" src="https://www.servicenow.com"></iframe></p>



Joseph


View solution in original post

9 REPLIES 9

Joseph Stefani1
Tera Expert

Chad,



The following HTML tag may answer your question. The width and height can be anything you want. I used used these as an example.



<p><iframe width="650" height="800" src="put link here"></iframe></p>



Example:


<p><iframe width="650" height="800" src="https://www.servicenow.com"></iframe></p>



Joseph


Thanks! Works perfectly!


Hey guys,


HTML sanitizer removes "iframe" now.   Any other way we can embed live reports in a KB article please?


The OOB HTML Sanitizer strips out the iframe source, so while it displays awesome in the Draft article, it's just an empty box on publish.

 

I know we can whitelist that tag in the Sanitizer....but I'd presume it's there for a reason...right?

Additionally, given that both the report and article are in-platform, the use of an iframe seems like a clunky solution.

No disrespect intended to Joshph, as it's an effective work-around...but is there any non-iframe based solutions to display a report within a KB article?