logo

NJP

How to Remove Popular Items on the Service Portal or Redirect to a different Category on the Service Portal

Import · Jun 16, 2020 · article

Recently I came across a requirement at a client to remove the popular items from the Service Portal or you can redirect the users to a category altogether. I went through the community and found that most of the solutions talk about making changes in the widget or adding a defaulted category to the widget. This is not required as the widget takes the sys_id of the category as a URL parameter. By default, there's no sys_id passed which is why the user sees "Popular items". So, instead of making changes to the widget. We can simply pass the sys_id of a category in the instance options of the icon-link which solve the problem and default it to a different category without any changes to the widget and solves the business problem. Please find the screenshots below for your reference. 1) Instance options for the icon-link: Use the URL type and add the URL similar to the below. The portal here - "sp" The page name - "sc_category" which holds the SC Category widget. URL parameter - "sys_id" of the category you want to default the widget. Note: If no sys_id parameter is passed it will display the popular items.

image

2) Once the above changes are done click on the icon-link.

It will open up the category instead of popular items.

image

Thanks & Regards,

Ishaan

Labels:

image

View original source

https://www.servicenow.com/community/now-platform-articles/how-to-remove-popular-items-on-the-service-portal-or-redirect-to/ta-p/2305499