Get rid of Count of Record on a Portal Menu Scripted List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Is there a setting that I can get rid of the count for this scripted list menu?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday - last edited Monday
Hi @kemmy1
When you r clicking on that menu check the Browser url . which ID = is showing.
https://<your instance>.service-now.com/sp?id=<abc>
Navigate to Portal
Open pages
OPen the exact page which is having that id (id = abc).
Check Client controller /server logic
Modify code as per your requirement.
save it.
Note: If in page different widget are there, identify it by Page designer related link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
Hello @kemmy1
It is important to understand where this header menu is updated and to find that out you need to navigate to All > Service Portal > Menus (table name: sp_instance_menu)
When you find out the correct header menu, then open it and scroll down to menu items where you will find out "Scripted list test" or you can directly search it in the table "sp_rectangle_menu_item".
As the type is filtered list, hence it is displaying the count.
So, you can delete it from the menu items to get rid of "Scripted list test" as a menu item or if you want to keep it but don't want to show count(number) then update it to URL or something else as per your requirement:
Hope that helps!
