How to display a child category under the parent category on page

ZGauss
Tera Expert

Hello,

I am wondering if it is possible to have links under the category request that link to the child categories. Currently I have a icon link on the home page the directs to request. Request does not actually have any catalog items within it but does have child categories that hold catalog item. I would like to be able to have clickable links that will just redirect to the child category. For example, I have a child request category called "Information Systems" and within that category holds all the IS request items. But when I click request it just says "no items in this category" which makes sense because there aren't actually any items for the request category, just items in the request child categories.. The information systems category does show below request on the left side of the page but I also want it to display in the middle of the page as a item would if it were in the request category. Or even if it were to show all catalog items that are within the child categories of request that would be acceptable. The former would be more ideal, however. See the attached screenshot to give an idea of what I am explaining.

Thank you

1 ACCEPTED SOLUTION

Jacqui
ServiceNow Employee
ServiceNow Employee
It would require some custom code on the 'SC Category Page' widget to have links to the child categories directly.
 
Another alternative is to choose the 'Show items in Child categories' on the 'SC Category Page'. This option is shown when the edit button is clicked in the Service Portal Designer on the widget. This will show all of the items in the parent category and the child category together. Typically, this setting is checked by default.

View solution in original post

4 REPLIES 4

Jacqui
ServiceNow Employee
ServiceNow Employee
It would require some custom code on the 'SC Category Page' widget to have links to the child categories directly.
 
Another alternative is to choose the 'Show items in Child categories' on the 'SC Category Page'. This option is shown when the edit button is clicked in the Service Portal Designer on the widget. This will show all of the items in the parent category and the child category together. Typically, this setting is checked by default.

You rock, Jacqui. Thanks again for your help with this.

Jacqui
ServiceNow Employee
ServiceNow Employee

Thanks! Great to hear to hear the problem is resolved.

 

ps. If you happy with my handling of the case a survey would always be much appreciated. 🙂

Hi Jacqui,

Could you please help me with the custom code