- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 04:28 AM
Hi,
We are facing a weird issue. When you insert a iframe HTML code to link an external hosted video in a to-do content item.. then when you click on the save button, the url is being removed. If i do this exactly the same in a Rich text portal content.. then it works fine.
It looks that the to-do content item as a special html sanitizer.. that only allow Youtube video's.. and not other urls. Anyone is facing the same issue.. and have found a solution?
When click save, the video disappear and the url have been removed from the iframe html code.
thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 01:13 AM
Hi,
Thank you for pointing out to the right direction. I just figure out the solution. It looks like that To-do content items have a separate sanitizer setting. Just go to To-do content table.. and add that extra code to the attributes. this will do the trick.
Please mark the answer is correct/helpful , if it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 04:41 AM
Hi,
Check the below link it will help you
https://community.servicenow.com/community?id=community_question&sys_id=1fd3734cdbce7b004819fb2439961958
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
Please Mark the answer if correct/helpful , if it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 01:13 AM
Hi,
Thank you for pointing out to the right direction. I just figure out the solution. It looks like that To-do content items have a separate sanitizer setting. Just go to To-do content table.. and add that extra code to the attributes. this will do the trick.
Please mark the answer is correct/helpful , if it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022 05:39 AM
Hi Alexnder,
Looks likely you marked your answer is correct can you please check ??
Thanks
Chandu Telu
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2022 01:34 PM
Hi Alexander,
I also faced this issue early on. I was trying to use Kaltura videos in my to-dos instead of Youtube, since Kaltura is what my org uses for internal videos. Within Kaltura, there is a Share option and within that option there is three options - Link to Media Page, Embed, and Email. For my to-do's to work I need to copy the Embed html code from Kaltura (which includes the iframe code within it).
Then I paste that code as the HTML source code. You paste as HTML source code instead of using the URL type on Insert/Modify Video option in the TinyMCE / WYSISWYG.
I attached a copy of my source code, in case there is something telling for you there.
Good luck!