Embed item is not working in article body in knowledge article

kavita_mishraKV
Tera Contributor

Hi Team,

In the knowledge article, we have a section called "Article Body." Within this, there is an option to insert or edit media. However, when we insert an Iframe and save the record, the link is being removed automatically.

Please find the attachment for your reference



Attachment for your reference

kavita_mishraKV_0-1734683601476.png

kavita_mishraKV_1-1734683617176.png

kavita_mishraKV_3-1734684004341.png

 

 

2 REPLIES 2

Runjay Patel
Giga Sage

Hi @kavita_mishraKV ,

you can find the solution here: https://www.servicenow.com/community/itsm-forum/users-unable-to-embed-videos-into-knowledge-articles...

 

Accept and like the solution if it helped you

Ravi Gaurav
Giga Sage
Giga Sage

Hi @kavita_mishraKV 

 

Similar thread is found :--- https://www.servicenow.com/community/itsm-forum/users-unable-to-embed-videos-into-knowledge-articles/td-p/758617

 

 

OK found the answer which doesn't seem to be in any of the other articles on this subject.

The ability to allow embed code into a Knowledge Article seems to be controlled almost exclusively (in London at least) by:

System Definiton -> Dictionary Table = kb_knowledge, Field = text Click the advanced view link Set Attributes = serializer=com.glide.script.TranslatedTextXMLSerializer,html_sanitize=false

Adding the ",html_sanitize=false" string at the end solved the whole issue

May be worth noting that urning off the glide.html.sanitize_all_fields system property does not actually do anything in this case. The above works even if the system property is made active again.

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

ï”— YouTube: https://www.youtube.com/@learnservicenowwithravi
ï”— LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/