- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2021 06:56 AM
Hello all,
When I click on "Catalog" from the Portal and then try to click on a category the tiles don't change. Still it shows popular Item.
Currently it seems like this,
However, when I refresh the page the tiles appear correctly.
This is happening after the Rome upgrade.
So, How can I fix this? Please help for this asap.
Thanks in advance!
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2021 12:37 PM
Hello,
We had a similar issue and ServiceNow recommended the following fix in Rome. This fixed the issue for us.
https://support.servicenow.com/kb?id=kb_article_view&sys_kb_id=2dc28d1fdbce7410aa66a9fb13961980
If my response was helpful or answered your inquiry, please mark it accordingly.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2024 05:54 AM
Possible Solutions:
Check Widget Configuration:
- Ensure the widget used to display catalog items is configured correctly.
- Go to Service Portal > Widgets, find the widget (likely "SC Catalog") handling category items, and verify that it’s set up to update based on the selected category.
Clear Cache:
- Clear the portal cache by navigating to:
https://<instance>.service-now.com/sp_cache.do - Also, clear your browser cache and refresh the page.
Category Setup:
- Verify categories are properly linked to catalog items in Maintain Categories (sc_category).
- Clear the portal cache by navigating to:
Inspect Client Script:
- Use browser developer tools (F12) to check for any console errors in the JavaScript.
- Custom client scripts might be interfering with the default behavior, so check if any are running on the page.
Server Script Review:
- Ensure the server script in the widget is fetching data based on the selected category
(function() {
if (input && input.action === "load_category") {
var gr = new GlideRecord('sc_cat_item');
gr.addQuery('sc_category', input.category);
gr.query();
data.categoryItems = [];
while (gr.next()) {
data.categoryItems.push({
name: gr.getValue('name'),
description: gr.getValue('short_description')
});
}
}
})();