- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 03:16 AM
Hello Everyone,
I'm trying to configure the fields that appear in the Global Search results, specifically when clicking "View All" after performing a search. It currently shows a set of default fields as shown in the screenshot but I want to know where exactly these fields are configured.
I've checked the Search Sources and Search Result Display Configurations, but I couldn't find a direct way to control which fields show up in the "View All" result layout.
Could someone please guide me on:
Where these default fields are defined/configured?
Is there a way to customize them per table or per search source?
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 03:51 AM
AI Search and uses the EVAM (Entity View Action Mapper) framework to define how these result cards are rendered.
Here's some guidance on where to search and how to customize it:
The main configuration resides in the Search Profile that your application uses (e.g., the service portal, the default global search). This profile connects the Search Sources to how your results are displayed, often through EVAM settings.
Find and modify settings:
Navigate to Search Profiles: In the ServiceNow filter browser, go to AI Search > Search Experience > Search Profiles.
Identify your Search Profile: Locate the profile that is active for the context where you perform the search (this can be the global default or a portal-specific one). Open this record.
Search Result Configuration: Within the Search Profile, look for a related list or section called “Search Profile Search Source Configurations” or “Search Result Templates” (the name may vary slightly depending on the version). This list links each Search Source (table) to the way its results are displayed.
Search Source (ais_search_source) is configured to return these fields in the results. Sometimes you need to add them explicitly in the Search Source configuration, although often EVAM takes care of requesting them if they are in the template.
Locate the Table/Search Source: Find the row corresponding to the table (Search Source) whose results you want to modify. Note the column that refers to a display configuration, such as “EVAM Config Bundle”, “Result Template” or similar. Copy or write down the name/Sys ID of this EVAM configuration.
Navigate to EVAM Definitions: Go to Now Experience Framework > Building Blocks > EVAM Definitions (or search for sys_ux_evam_definition.list in the browser).
Open the EVAM Definition: Find and open the EVAM definition you wrote down in step 4.
Examine the EVAM View Template: Within the EVAM definition, find the related “EVAM View Config Bundle” list and then the associated “EVAM View Template” (sys_ux_evam_view_template) record. This template is the one that actually defines the structure of the result card.
Modify the Template: Edit the EVAM View Template record. Look for a JSON field called template (or specific configuration fields). Inside this JSON you will find the card structure, with sections like primary_field, secondary_fields, detail_row_fields, image_field, etc.
Add or change the names of the fields (from your table) that you want to display in the appropriate sections (for example, add fields to secondary_fields).
Important: Make sure that the Search Source (ais_search_source) is configured to return these fields in the results. Sometimes you need to add them explicitly in the Search Source configuration, although often EVAM takes care of requesting them if they are in the template.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 03:43 AM
Hi @Rahul Eashwar ,
For each table there is one default display field
Option 1 :Using configure dictionary option you can make field Display True.
Option 2: Go to table record and make field display true:
Tip: you can make only one field Display true for one table.
If my response helped, please hit the 👍Thumb Icon and accept the solution so that it benefits future readers.
Regards,
Pratik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 03:51 AM
AI Search and uses the EVAM (Entity View Action Mapper) framework to define how these result cards are rendered.
Here's some guidance on where to search and how to customize it:
The main configuration resides in the Search Profile that your application uses (e.g., the service portal, the default global search). This profile connects the Search Sources to how your results are displayed, often through EVAM settings.
Find and modify settings:
Navigate to Search Profiles: In the ServiceNow filter browser, go to AI Search > Search Experience > Search Profiles.
Identify your Search Profile: Locate the profile that is active for the context where you perform the search (this can be the global default or a portal-specific one). Open this record.
Search Result Configuration: Within the Search Profile, look for a related list or section called “Search Profile Search Source Configurations” or “Search Result Templates” (the name may vary slightly depending on the version). This list links each Search Source (table) to the way its results are displayed.
Search Source (ais_search_source) is configured to return these fields in the results. Sometimes you need to add them explicitly in the Search Source configuration, although often EVAM takes care of requesting them if they are in the template.
Locate the Table/Search Source: Find the row corresponding to the table (Search Source) whose results you want to modify. Note the column that refers to a display configuration, such as “EVAM Config Bundle”, “Result Template” or similar. Copy or write down the name/Sys ID of this EVAM configuration.
Navigate to EVAM Definitions: Go to Now Experience Framework > Building Blocks > EVAM Definitions (or search for sys_ux_evam_definition.list in the browser).
Open the EVAM Definition: Find and open the EVAM definition you wrote down in step 4.
Examine the EVAM View Template: Within the EVAM definition, find the related “EVAM View Config Bundle” list and then the associated “EVAM View Template” (sys_ux_evam_view_template) record. This template is the one that actually defines the structure of the result card.
Modify the Template: Edit the EVAM View Template record. Look for a JSON field called template (or specific configuration fields). Inside this JSON you will find the card structure, with sections like primary_field, secondary_fields, detail_row_fields, image_field, etc.
Add or change the names of the fields (from your table) that you want to display in the appropriate sections (for example, add fields to secondary_fields).
Important: Make sure that the Search Source (ais_search_source) is configured to return these fields in the results. Sometimes you need to add them explicitly in the Search Source configuration, although often EVAM takes care of requesting them if they are in the template.