Key Word Search in Data Table widget not working on all tables
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2022 10:05 PM
I have observed that that using the existing Data Table widget --> Click on View All Tickets --> Keyword Search, works for well for tables.This functionality is not working for custom table created.Getting No records in <<table name>> using that filter.Could you please let us know if there is any configuration that needs to be done for this?
Labels:
- Labels:
-
Customer Service Management
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 03:57 AM
keyword search functionality is not working in the custom table
Solution:
1. Enable Text Indexing for the Table:
- When keyword search doesn't work on custom tables. We needs to index the text fields of our table to make them searchable.
- Steps:
- Navigate to System Definition > Dictionary (sys_dictionary).
- Search for our custom table and open the Collection record (the one where the "Type" is "Collection").
- Check the box for Text index.
- Click the Update button.
- Now see a related link at the bottom of the form called Generate Text Index. Click this link.
- ServiceNow will start indexing your table. The time it takes depends on the size of our table. We can monitor the progress in System Logs > Events by looking for events with the name text_index and our table name.
2. Verify Text Index Completion:
- Ensure the text indexing process has finished before testing the search.
- Steps:
- Navigate to System Definition > Text Indexes (ts_index_name).
- Search for our custom table.
- The State should be "Complete". If it's still "Building", wait for it to finish.