Custom String Field(value) not Searchable in Global Search.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago - last edited 41m ago
Hi Team,
I have a custom table u_sip with a custom String field u_invoice_no (Invoice No.).
Requirement:
When searching using the value of 'Invoice No. (e.g., 14567)' in the Global Search, the corresponding SIP record should be returned.
Current Behavior:
Searching by the record Number (e.g., SIP0001002) returns the record successfully.
Searching by the custom field value (e.g., 14567) returns no results.
What I have verified:
The custom field type is String.
A database index has been created for the field.
The index exists in the sys_index table.
However, the index is not visible in the table's Database Indexes related list.
I also could not find any Searchable or Text Search option on the dictionary entry for this field.
Environment:
ServiceNow Zurich
Custom table: u_sip
Questions:
What configuration is required to make a custom String field searchable in Global Search?
Is creating a database index sufficient, or are additional configurations (such as text indexing or search source configuration) required?
Why would an index appear in the sys_index table but not in the table's Database Indexes related list?
Is there any step required to rebuild or regenerate the search index after creating the database index?
Any guidance or best practices would be greatly appreciated.
@Ankur Bawiskar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
37m ago
check these links
How can i add a new source to global search
How to enable global search for the custom table
💡 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