Service Portal Category list show all

Adam Peterson
Kilo Sage

We are wanting to show all of the categories to everyone. Some catalog items are restricted to ITIL users so the category will show 0 items.

find_real_file.png

I understand why OOB will not show categories if there is 0 items to show but we want to show all of them even if they are 0 items in the category. Anyone know where I can edit that?

 

TIA

9 REPLIES 9

johansec
Tera Guru

What is the name of the widget? and what upgrade are you on? I am trying to find this widget in a personal dev instance to look into this.

We are on London. And the widget is called SC Categories.

 

Thanks

So I cloned the widget to play around with it a bit and as close as I can get is this. 

 

In the server script if you comment out two lines 

//if (!categoryJS.canView())
  //continue;

find_real_file.png

 

The category will still show up with the number of catalog items next to it ( not zero like you asked for ) 

If the user clicks on that category and they have no items they can use in that category they get this 

find_real_file.png

 

So I dont know if this is the user experience you are looking for or not but hopefully it can get you going in the right direction. 

Awesome! Thank you so much for editing this and trying this out for me! I will pass this on and see what they think.