Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Unable to see the certain categories as Customer Admin in Service Portal - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Unable to see the certain categories as Customer Admin in Service Portal
KB0727874

Unable to see the certain categories as Customer Admin in Service Portal


3309 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Symptoms


User with customer admin role unable to see certain categories on "sc category page" widget on service portal. 

Release


Any supported release.

Cause


  • Below code on "sc category page" widget is checking view access for a user on category and failing due to "not available for" Public User criteria set on the certain record producers / catalog items.
// Does user have permission to see this category?
var categoryId = '' + data.category_id;
var categoryJS = new sn_sc.CatCategory(categoryId);
if (!categoryJS.canView()) {
data.error = gs.getMessage("You do not have permission to see this category");
return;
}
  • Ideally, public role is used to determine whether login required to access the features and functions within service now, and this should not be used in user criteria.
  • Hence, using the public role in "not available for" public user criteria causing the reported issue.
  • In general, when checking the view access on category, the system will look for view access in the catalog items which are available within the category, at least one of them should be available for the category to be visible to the user.
  • In the reported scenario, the affected category had only one catalog item / record producer listed under it, however, that catalog item / record producer had a non available for user criteria which is set to public.
  • The non available for user criteria overrides the available for user criteria. Hence, though you have set the available for user criteria on category, access is denied for the user on the category.

Resolution


  • Review the public User criteria set on the affected catalog item and apply the required other user criteria instead of public user criteria or update it as per your business requirement.

Additional Information


Service catalog categories

User criteria for Service Portal


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.