--- title: Add the Attached Results component slug: '3102' canonical_url: https://docs.coveo.com/en/3102/ collection: coveo-for-salesforce source_format: adoc --- # Add the Attached Results component The Coveo Attached Results component lets users see the results they have attached to a specific record using the [ Attach to case result action](#attach-to-case-result-action) in the [Coveo Insight Panel Lightning Component](https://docs.coveo.com/en/1028/). Coveo for Salesforce currently offers two distinct options to integrate the Attached Results component into a Salesforce record page: * Using the [Attached Results Lightning component](#attached-results-lightning-component-recommended) (recommended) * Using the [Attached Results tab](#attached-results-tab) > **Important** > > * As of the [March 2020 maintenance release (v3.48)](https://docs.coveo.com/en/1280#march-2020-maintenance-release-v348), the Attached Results and Case Attached Results [custom objects](https://trailhead.salesforce.com/en/content/learn/modules/data_modeling/objects_intro) support [Salesforce Field-Level Security](https://help.salesforce.com/articleView?id=admin_fls.htm&type=5). > > As a result, the Attached Results, Case Attached Results, and Case Article object fields must now be visible to agents who perform attach actions for the Attached Results component to work properly (see [Set Field Permissions in Permission Sets and Profiles](https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/users_profiles_fls.htm)). > > * As of the [November 2021 release of Coveo for Salesforce (v4.20)](https://docs.coveo.com/en/3236#november-2021-release-v4-20), the [Attached Result custom object](https://docs.coveo.com/en/3102#attached-result-custom-object) also stores the value of the `CoveoV2\__PermanentId__c` item field (see [About the PermanentId field](https://docs.coveo.com/en/1913/)). > Going forward, this item field will be used instead of the `CoveoV2\__UriHash__c` when storing the attach actions performed by an agent. > > To avoid field access errors, [set field permissions](https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/users_profiles_fls.htm) on the `CoveoV2\__PermanentId__c` item field. ## Attached Results Lightning component (recommended) The Attached Results Lightning component is a distinct Lightning component that can be placed anywhere in the Salesforce console. Since the Attached Results Lightning component is an independent component, it has its own [search hub](https://docs.coveo.com/en/1342/) name. This is particularly useful to take advantage of [Coveo Machine Learning (Coveo ML)](https://docs.coveo.com/en/188/) and to improve [Coveo Analytics](https://docs.coveo.com/en/182/) reporting.  ### Add the Attached Results Lightning component to a record page . [Integrate the Coveo Insight Panel Lightning Component](https://docs.coveo.com/en/1028/) in your record page. . Access your Lightning Application (for example, the Lightning Service Console), and then open any record (for example, a case). . In the upper-right corner of the page, click **Setup** (the gear icon), and then select **Edit Page**. . In the **Lightning App Builder**, drag the **Coveo Attached Results** component to the location you want it to appear on the record page, and then click **Save**. Now that you've added the Attached Results Lightning component, [add the Attach to Case result action](#add-the-attach-to-case-result-action-to-a-coveo-insight-panel-lightning-component) to your Coveo Insight Panel Lightning Component if it isn't already included. ## Attached Results tab You can integrate the Attached Results tab into the Coveo Insight Panel Lightning Component. It appears as a distinct tab with which your agents can interact to see the results they have attached to a specific record.  > **Note** > > Since the Attached Results tab is integrated into the Coveo Insight Panel Lightning Component, it uses the same search hub. ### Add the Attached Results tab in a Coveo Insight Panel Lightning Component > **Note** > > If you're using the Salesforce Classic experience, the Attached Results tab is automatically integrated into your Coveo Insight Panel Classic Component. . [Integrate the Coveo Insight Panel Lightning Component](https://docs.coveo.com/en/1028/) in your record page. . Access your Lightning Application (for example, the Lightning Service Console), and then open any record (for example, a case). . In the upper-right corner of the **Coveo Insight Panel Lightning Component**, click **Setup**, and then select **Edit**. . In the Interface Editor that appears, select the **Code View** tab. . In the `