---
sourceDocument: Brazil ServiceNow AI Platform Administration
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-administration

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Grouping attachment search results with their parent results

# Grouping attachment search results with their parent search results {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Grouping attachment search results with their parent search results

ServiceNow AI Search allows administrators to control how attachment search results are displayed in relation to their parent records.
By default, attachments appear as separate search results, but administrators can enable grouping so that attachments matching a search query appear inline with their parent record's search result.
Show full answer Show less  

## Key Features

* **Attachment Grouping:** When enabled, attachments that match a search query are shown grouped in a collapsed format under their parent record in the search results list.
* **Attachment Limit:** The number of attachments shown per parent record is controlled by the Attachment Limit field in the search application's configuration. By default, up to three attachments are shown with a "Show more" link to reveal additional attachments.
* **Attachment Interaction:** Selecting an attachment either downloads the original file or opens it in Document Viewer, given that Document Viewer is active, enabled for the attachment's source table, and the useAttachmentViewer EVAM property is true.
* **Relevancy Scoring:** The grouped search result's relevancy score reflects the highest score among the parent and its attachments. Click rank signals are logged at the parent record level, while other search signals are specific to the selected attachment.

## Practical Impact for ServiceNow Customers

By enabling attachment grouping, ServiceNow customers can provide users with a more organized and concise search experience, improving discoverability of relevant attachments without cluttering search results. This feature helps users quickly identify and access attachments related to parent records, streamlining workflows and enhancing search efficiency.

Administrators should configure the Attachment Limit and ensure Document Viewer is properly activated and enabled to maximize the benefits of this feature.  
Search application administrators can control whether attachment search results appear grouped with their parent search results or whether they display on their own. By default, AI Search displays attachments grouped with their parent search results.

By default, AI Search displays separate search results for the parent record and each of its attachments that matches the user's search. Search administrators can enable grouping of attachment search results with the results for
their parent records. With this option enabled, search results for attachments that match a user's search display inline with the search results for their parent record.

The maximum number of attachments per parent search result is set by the Attachment Limit field in the search application's configuration record. For details on this field, see [Search Application Configuration form](https://www.servicenow.com/docs/Tl_PYfw3C_ANJ5gjjEW_sA "The Search Application Configuration form enables you to create a search application configuration for an AI Search application.").

## Grouped attachments in the search results UI {#grouping-attachment-srch-results-ais__section_bkn_34j_xfc}

If the parent record itself or any of its attachments matches the user's search, the parent record appears in the search result list. Grouped
attachments that match the search appear in collapsed form, in descending relevancy order within the search result for their parent record.

By default, a parent search result shows up to three attachments in collapsed format. If it has more than three attachments, a Show more link appears, with a number indicating how many attachments are
hidden in the current view. When you select this link, the hidden attachments appear and the link name changes to Show less. Selecting this link hides the overflow attachments again.

## Viewing or downloading attachment search results {#grouping-attachment-srch-results-ais__section_gnr_2qj_xfc}

Selecting an attachment search result downloads the original attachment to your web client, or opens the original attachment in Document Viewer if all of these conditions are met:

* Document Viewer is active on your instance.
* Document Viewer is enabled for the attachment's source table.
* The useAttachmentViewer EVAM property is set to true for the parent search result.
{#grouping-attachment-srch-results-ais__ul_c1n_xpj_xfc}

For details on activating and enabling Document Viewer, see [Enable Document Viewer](https://www.servicenow.com/docs/access?context=enable-document-viewer&version=brazil&pubname=brazil-platform-user-interface&ft:locale=en-US). To learn more about EVAM property settings for search results, see [Configure EVAM display settings for search results in AI Search applications](https://www.servicenow.com/docs/qX89yz~KUFr8ZGG4dnlQMw "Customize display settings for Search Result EVAM (Entity View Action Mapping) cards in portal and non-portal AI Search applications.").

## Relevancy and click rank for grouped attachment search results {#grouping-attachment-srch-results-ais__section_cvz_t4j_xfc}

When attachment grouping is in use, AI Search computes relevancy scores for the parent record and each of its grouped attachments. The final relevancy score of the grouped search result is the highest of these individual relevancy scores.  
Note:  
When you select a grouped attachment search result, AI Search logs click rank signal data for the parent record search result. All other search signal data is specific to the selected attachment record. For more details on search signal logging, see [Search signal tables](https://www.servicenow.com/docs/Kgh8~JwEUz1Jt8oLl9URwA "Search uses tables to store details from user searches, search refinements, and interactions with search results. These details are called search signals. Data from the search signal tables helps improve the relevancy of search results in your system.").
* **[Group attachment search results with their parent results](https://www.servicenow.com/docs/kSAh64t9Hf2ftDIJrsDIpg)**   
  Configure your AI Search applications to display attachment search results grouped with the results for their parent records.

