Issue
Learn how to limit the number of records that are initially loaded when selecting or searching in a reference field on Service Portal.
Release
Kingston patch 11 and later
London patch 4 and later
Madrid and later
Resolution
Create the following property in the instance and set the value as needed:
Name: glide.service_portal.ac_max_search_matches
Type: integer
Value: <number_of_records_to_display>
When setting the value, consider the following:
- Before Kingston Patch 11, London Patch 4, and Madrid, the default number of records displayed initially was 20.
- After these builds, the default was increased to 100 as a fix for PRB1291290.
- The property glide.service_portal.ac_max_search_matches is not in the database by default, hence the need to create it.
- When using this property keep in mind:
- Too high a value can affect performance.
- Too low a value creates a risk of users seeing no results if they don't have read rights to see the first N records returned from their query.