Is multilevel numbering possible in knowledge articles?

cynlink1
Tera Expert

Hello,

 

My organization uses the following format for policies and procedures. Is it possible to use multilevel numbering using the out of the box formatting tools in ServiceNow? 

cynlink1_0-1713401160141.png

 

 

TinyMCE Numbering.jpg

5 REPLIES 5

AshishKM
Kilo Patron
Kilo Patron

Hi @cynlink1 , 

As the article body is HTML type, we can add bullet/number list but child number option not there using the TAB. It will show either number or alphabet only from the list.

 

You can update it manualy.

 

AshishKMishra_0-1713407538783.png

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

cynlink1
Tera Expert

Do you know if it is possible to add additional number list options?

yes, we can add come html/css style for this ordered list number.

 

Open the source code part via clicking on <> and add the follwoing css code within the <script > </script > tag. Keep the other css code as it is, don't remove and existing ol/li css setting.

 

<script>

ol { counter-reset: item }
li{ display: block }
li:before { content: counters(item, ".") " "; counter-increment: item }

</script>

 

AshishKMishra_0-1713456227125.png

 

AshishKMishra_2-1713456533930.png

 

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

@AshishKM - Thank you for responding with a potential solution. I apologized for my delayed response.

 

I am having a difficult time getting this to work on my end. I am likely making an error.

 

Step #1 - Open a new knowledge article

Step #2 - Show source code <>

Step #3 - Paste script into the source code

<script>

ol { counter-reset: item }
li{ display: block }
li:before { content: counters(item, ".") " "; counter-increment: item }

</script>

Step #4 - Hide source code by clicking <> again

Step #5 - Start making the multi-level list

 

Am I going about it wrong?

 

Thanks,

Cyn