Knowledge Articles Expandable /Collapsible text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2017 07:08 AM
I am looking for a way to add expandable /collapsible text to Knowledge Articles. I am unable to use the HTML5 <details> tag as it does not work in IE. Has anyone found a way to do this without editing the kb_view UI page?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2018 08:29 AM
I found an example you can use:
<div class="panel list-group">
<a class="list-group-item" style="color: #646464 !important;" href="#a1" data-toggle="collapse" data-target="#a1">General IT Related changes</a>
<div id="a1" class="collapse">
<div class="list-group-item">
<p>Content</p>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
</div>
</div>
</div>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2019 02:53 PM
Looks like you're not alone... https://community.servicenow.com/community?id=community_question&sys_id=b246f1c3dbc36b00656a5583ca96...
I thought I'd try a wiki text way but none of these seem to work either;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2019 10:54 PM
On the knowledgebase field, add the attribute 'html_sanitize=false' and it will work. This will prevent the ServiceNow html editor from sanitizing and stripping off the html tags. This worked for us.
Let me know if this helps.
Kind Regards,
Pri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2019 07:05 AM
Hello, when you say "on the knowledgebase field" what do you mean by that? I'm new at ServiceNow and not very familiar with HTML. Thanks!