How to enable Table of Content option for Knowledge Articles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2021 02:26 PM
Does anyone know how to enable the Table of Content option for knowledge articles? We have use case for large knowledge articles which requires table of content added to link to different sections within the same article. Came across the following link, but can't figure out how to get the TOC button/icon enable.
https://community.servicenow.com/community?id=community_blog&sys_id=ae29fcab1be6ec1038739979b04bcbb1
Thanks,
Daemyian
- Labels:
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2021 03:03 AM - edited 05-15-2023 03:51 AM
Hi Donald,
there's definitely something wrong in your code sample. The href targets that start with # (aka pound sign, hash sign, octothorpe, etc.) should look like the first one, that is; #mcetoc_ and a random string.
Is there anything else in the article itself that could be interfering? For example, was the article copied from somewhere else and these tags were brought over?
I would need more information to try and explain this issue. Are you free to share the source of the complete article?
Kind regards,
Lucas Vieites
P.S. If my reply helped you, please mark it as helpful or correct so other community members can benefit from this information.
PP.SS: The complete article referenced by @shannont is now available on a new URL: Knowledge Byte #6 - What's in an article? Well, ask the Table of contents , by yours truly 😉
