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.
Knowledge search: ACLs remove records from list, but not the search result count - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Knowledge search: ACLs remove records from list, but not the search result count
KB0542809

Knowledge search: ACLs remove records from list, but not the search result count


1881 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

An Access Control rule may limit visibility to records in knowledge search, but does not handle the record count appropriately.

Steps to Reproduce

 

  1. Open the kb_knowledge read record ACL, and remove the Public role from the Requires role related list.
  2. Replace the script with:
    if(current.category=='Outlook' && !gs.hasRole('admin'))
    answer = 'false';
    else
    answer = 'true';
  3. Log out as Admin and log back in as Joe Employee.
  4. Navigate to Self-Service > Knowledge and search Outlook.
  5. Notice that no results appear, in particular, the page count is hidden.

Workaround

If you are able to upgrade, review the Fixed In field to determine the versions that have a permanent fix to this issue. If an upgrade is not possible, follow these steps:

  1. Download the attached xml file or from this link containing the updated UI Page with more validations for VCR.
  2. If you are an administrator with elevated privileges, follow the steps below to replace your UI page:
    1. Navigate to System UI > UI Pages.
    2. Right-click on the list header and select Import XML.
    3. Choose the downloaded XML file.
    4. Click Upload.

 


Related Problem: PRB571599

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?

Attachments

Attachments

  • sys_ui_page_772a11cdc0a800110099e13a1a3b0967.xml

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.