Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to enable Table of Content option for Knowledge Articles

Daemyian
Tera Expert

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. 

find_real_file.png

https://community.servicenow.com/community?id=community_blog&sys_id=ae29fcab1be6ec1038739979b04bcbb1

Thanks,

Daemyian

5 REPLIES 5

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 😉