How to add javascript in Knowledge articles(article body)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 08:22 AM
Hi,
I am trying to use the trial version of Orlando, to provide integration of directly publishing articles to Knowledge management from my product. I am trying to add javascript in Article body(i have changed the field type from Translated_html to HTML, as suggested in one of your articles) but when I try to add it from UI, in the article body, the code editor is stripping off the script tags inside the body content.
Is it possible to add javascript inside a knowledge article body? If so, do I have to enable any settings?
please suggest me in the appropriate direction for enabling this option.
Thanks,
Rajasekhar
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 03:49 PM
You can create a new field with the type of "script", and place the javascript in that field. The KB article body field is a text field. You could put the javascript in the body field, but you will not have the formatting abilities.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 09:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 01:34 PM
Did this ever get resolved or has anyone else had any success?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 09:00 AM
Is there an update? I do not see an option to create a new field anywhere in the KB article. I have two types HTML and Wiki when creating an article. Any thoughts?