Order of catalog items in category

Elise1
Tera Expert

Our services catalog has multiple categories and in each category there are multiple catalog items.  We want the cat items to be listed in alpha order.  Example:  the cat items in the Access Request category are in alpha order.  If you look at the item 'Bomgar Access....' you will see that it is also listed in the Cyber Security Requests category.  The order number in the Access Request category is '4' but we need it to be '1' in the Cyber Security Requests category otherwise it will not be in alpha order.  Can this be done?

1 ACCEPTED SOLUTION

Benjamin A
Mega Sage

Hi @Elise1,

 

There might be a more sophisticated solution, but what immediately comes to mind is using larger order values in the thousands and allocating 1000 for each letter of the alphabet. Then, you can order each catalog item independently of its category or catalog. However, this approach might still be challenging to maintain. You could potentially leverage a Business Rule to handle this dynamically by creating an after-insert rule that queries all sc_cat_item records, orders them by 'name,' and sequentially sets their order values.

 

An alternative could be modifying the Service Portal widget. However, I would NOT recommend this, as it would only affect the Service Portal widget and require modifying numerous records.

 

Hope this helps!

Best,
Ben

View solution in original post

2 REPLIES 2

Benjamin A
Mega Sage

Hi @Elise1,

 

There might be a more sophisticated solution, but what immediately comes to mind is using larger order values in the thousands and allocating 1000 for each letter of the alphabet. Then, you can order each catalog item independently of its category or catalog. However, this approach might still be challenging to maintain. You could potentially leverage a Business Rule to handle this dynamically by creating an after-insert rule that queries all sc_cat_item records, orders them by 'name,' and sequentially sets their order values.

 

An alternative could be modifying the Service Portal widget. However, I would NOT recommend this, as it would only affect the Service Portal widget and require modifying numerous records.

 

Hope this helps!

Best,
Ben

Thank you for your reply.  We did take all of the catalog items out of the categories, put them in alpha order and numbered them in increments of a 1000.  Thanks again.