Possible to hide from popular items in SP?

John Vo1
Tera Guru

Is it possible to hide a popular item from popping up here?  So if I don't want apple ipad 3 to not show up in the popular item is it possible?

find_real_file.png

1 ACCEPTED SOLUTION

rajneeshbaranwa
Giga Guru

Best Practice would be to create a system property and store comma separated sys_id values of the to be hidden catalog items in this property.

 

Then you can add below one line of the code in Server Script of cloned widget. That is it. You are set.

Next time when you are asked to again exclude/include another catalog item , You just need to add sys_id of the catalog items in the property. No code change required. 

 

find_real_file.png

View solution in original post

47 REPLIES 47

But it still shows when I put that sys id in the script.  

Can you share what you've setup exactly?

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Clone sc category page widget and added this line in the code.

find_real_file.png

Save the widget and went to page in designer and move that widget I clone over the the page.  

And the create incident still shows up , but when I put other sys id that are cat items they don't show up.

Top page is the default sc category page and bottom page is the one I created.  As you can see the create incident is still there but the onboard - request for computer is not.