Inserting html into a knowledge base article.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2017 07:19 AM
I'm new to service now, and I would like to have video's embedded into a knowledge base and played via html5. I was able to write my own html in the html editor, and it worked fine, but people who don't know html will be uploading video's as well, so I would like to have a button that prompts them for a file path, height and width of a video and injects the html into the html editor for them. Any ideas?
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2017 02:21 PM
Your best option would be to use a UI action or maybe a UI Macro. You will have to use some Javascript to edit the contents of the field and insert the HTML. You can use g_form.getValue() and g_form.setValue() to change the values of the HTML field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2017 06:20 AM