- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2019 11:38 AM
It seems as though there is no end to the number of questions here around how to embed a video into a Knowledge Article. I've used most of them to successfully get it to work but currently its only working for admin level users. Here's what I've currently done as context. Set the sys_property to:
- glide.html.sanitize_all_fields to false
- glide.ui.attachment.force_download_all_mime_types = false
- glide.knowman.use_document_viewer = true
The above allows me to successfully take some youtube embed code and add it into a Knowledge article with no issue
(e.g. <iframe width="560" height="315" src="https://www.youtube.com/embed/kfQunML-N0E" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>)
However, this does not work for other users or knowledge managers. What they experience:
- Hit the < > button
- Add embed code (such as above)
- Article successfully previews the video
- Hit save
- Video and code is removed.
I'm assuming this is some sort of permissions issue but not sure where to start.
Solved! Go to Solution.
- Labels:
-
Best Practices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2019 04:33 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2019 12:43 PM
Thanks Todd, that did it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2020 06:09 AM
