Nested Categories
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2023 09:18 PM
Hi All,
On our Service Portal (employee center) I have a requirement that Nested categories be expanded by default So that you do NOT have to click the little + icon to expand the sub categories.
Widget used: sc categories
Thanks
Ra

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2023 02:36 AM
Hi @Raji9 ,
I don't have an instance to hand that has multiple categories for me to quickly test, but from memory if you edit the SC Categories widget, there should be an option to set the Category Layout as flat.
This was an OOTB method to do this in the widget in Service Portal, imagine it's still there.
If that doesn't work, you will need to clone the widget and amend code that controls the nesting

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2023 09:46 PM
Hi there,
There's no out-of-the-box configuration option / instance option to achieve this. You need to clone and edit the widget and adjust the code (lots of community questions on this in the past, so you should be able to find them).
Question though... since you are mentioning Employee Center. Why your question? Aren't you using Taxonomy and Topics instead?
Kind regards,
Mark
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field