- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Regarding list searches, I am unable to modify the environment properties of the system under development,
but I would like to configure the search to use a "contains" (includes the value) match.
The linked documentation describes a method for configuring default search behavior for dictionary properties—specifically by setting `goto_use_starts_with=true` to enable a "starts with" match—but I do not wish to modify properties or use wildcards (such as `*`) to achieve a "contains" match in a similar way.
https://www.servicenow.com/docs/r/ja-JP/platform-user-interface/t_SearchAList.html
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @nanamimakin
Enable contains auto-complete searches
By default, the reference auto-complete uses a starts with search. A user preference can be created to implement a contains search.
Before you begin
Procedure
- Disable the glide.ui.ref_ac.startswith system property.For more information, see Improve auto-complete queries.Note:Setting the glide.ui.ref_ac.startswith system property to true overrides any existing "autocomplete.contains" settings in both user and system level preferences. This property changes the auto-complete query method for all users regardless of preferences.
- Navigate to User Administration > User Preferences.
- Select the preference "'<referenced table>.autocomplete.contains"'.
- Set the value field to true.
- Select Update.
What to do next
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Tanushree Maiti
Thank you for your reply.
The method you suggested would require changing property settings.
I would like to avoid changing settings, so that approach is not feasible.
I want to limit the scope to specific columns in a custom table,
rather than affecting the entire environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @nanamimakin ,
By default, list search behavior is controlled by system properties.
Also ootb, there is no supported configuration to make the global list search perform a Contains match by default without modifying system properties.
Although you can also rely on wildcards (for example *value).
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
not possible without updating system property
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @nanamimakin
Enable contains auto-complete searches
By default, the reference auto-complete uses a starts with search. A user preference can be created to implement a contains search.
Before you begin
Procedure
- Disable the glide.ui.ref_ac.startswith system property.For more information, see Improve auto-complete queries.Note:Setting the glide.ui.ref_ac.startswith system property to true overrides any existing "autocomplete.contains" settings in both user and system level preferences. This property changes the auto-complete query method for all users regardless of preferences.
- Navigate to User Administration > User Preferences.
- Select the preference "'<referenced table>.autocomplete.contains"'.
- Set the value field to true.
- Select Update.
What to do next
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Tanushree Maiti
Thank you for your reply.
The method you suggested would require changing property settings.
I would like to avoid changing settings, so that approach is not feasible.
I want to limit the scope to specific columns in a custom table,
rather than affecting the entire environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @nanamimakin ,
By default, list search behavior is controlled by system properties.
Also ootb, there is no supported configuration to make the global list search perform a Contains match by default without modifying system properties.
Although you can also rely on wildcards (for example *value).
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
not possible without updating system property
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader