---
schema_version: "1"
id: 884a80a195bd791d2212750c6634c0eb2b8873923698a1bee0624e9adc73b652
title: Attachments Tab in Display Detail Page
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/custom_sync_add_tab_for_attachments_workflow.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.custom_sync_add_tab_for_attachments_workflow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e0ec662c97c7d585970f890bf7213a260586df4defec448bbd5e6df972db78db
description: Add a tab to show a list of display attachments in the master-detail Displays page. In Visual Studio Code based Modeler, create a list object to load the attachments and to bind to a MediaList UI control in a new tab.
products:
  - Consumer Goods
release: "264"
---
# Attachments Tab in Display Detail Page

Add a tab to show a list of display attachments in the master-detail Displays page. In Visual Studio Code based Modeler, create a list object to load the attachments and to bind to a MediaList UI control in a new tab.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available in: Lightning Experience </p>
            <p style="margin-bottom:0;">Available in: <strong>Enterprise</strong> and
              <strong>Unlimited</strong> Editions where Consumer Goods Cloud is enabled
            </p>
          </td>

        </tr>
      </tbody>
    </table>

Some backend processes are triggered when the attachments tab is created in the display record details page.

![The backend processes that occur when the attachments tab is created in the display record details page.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_vscode_modeler-264-0-0-production-enus/87cab158-9245-45b0-9080-f17a57d69ec9/consumer_goods_retail_vscode_modeler/images/custom_modeler_trigger_loading_nft_from_app_workflow.png)

## Sync

This process triggers the syncing of named fetch tree in the replication callback event.

## Data

The model adds a datasource contract for attachments.

## Model

The model creates a list object and adds it to the Display object as a nested list object.

## View

The UI flow creates a new tab in the detail page of the display record. It also adds a MediaList UI control to show the attachments of the selected display record.

- **[Load Attachments to Display Object](https://help.salesforce.com/s/articleView?id=ind.custom_sync_load_attachment_to_displays.htm&release=264.0.0&type=5)**  
    Create and configure a list object to load the attachments. Add the list object to the Display business object and also add a datasource for the attachments.
- **[Show Attachments on a New Tab on the Displays Detail Page](https://help.salesforce.com/s/articleView?id=ind.custom_sync_show_tab_for_attachments_display_detail.htm&release=264.0.0&type=5)**  
    Add a tab in the Display master detail dialog in Visual Studio Code base Modeler. Create a MediaList UI control in the tabbed area to show the list of synced attachments.