---
schema_version: "1"
id: 5b6649423ef7b1dce0a126c8390971141746e486ebabf964cde10b35ccaa1026
title: Sync Your Display Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/custom_sync_sync_display_data_with_named_queries.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.custom_sync_sync_display_data_with_named_queries.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 240b56d5fca09111cd47dddf6f4ad9368160ec06291edb5e2dea77f5d6cad143
description: Understand how to use named queries or named fetch trees to sync display records in the Consumer Goods (CG) offline mobile app. Create lookups to other objects and wizards to select different objects, and sync and show attachments to display records.
products:
  - Consumer Goods
release: "264"
---
# Sync Your Display Data

Understand how to use named queries or named fetch trees to sync display records in the Consumer Goods (CG) offline mobile app. Create lookups to other objects and wizards to select different objects, and sync and show attachments to display records.

### 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>

- **[Prerequisites](https://help.salesforce.com/s/articleView?id=ind.modeler_vscode_custom_sync_prerequisites.htm&release=264.0.0&type=5)**  
    Before you configure the settings to sync the Display records to the Consumer Goods Cloud offline mobile app, install and set up the Consumer Goods Cloud managed package and other apps. Then, create the Displays custom card in the Your Day cockpit and add the detail layout.
- **[Distribute Display Records Based on Account](https://help.salesforce.com/s/articleView?id=ind.custom_sync_add_account_lookup_field_to_display.htm&release=264.0.0&type=5)**  
    To sync display data by using named queries, add an account lookup field to the Display object in Consumer Goods Cloud. Then, to sync the Display account data to the offline mobile app, add the account field to the mobility relevant field sets.
- **[Sync Display Data by Using a Named Query](https://help.salesforce.com/s/articleView?id=ind.custom_sync_create_named_query.htm&release=264.0.0&type=5)**  
    After adding an account lookup field to the Display object, use a named query from Sync Configuration to ensure that sales reps see only the displays related to their accounts. The named query filters data and shows information relevant to the user's account in the offline mobile app.
- **[Considerations for Adding Customer Lookup to Displays](https://help.salesforce.com/s/articleView?id=ind.custom_sync_integrate_customer_lookup_to_display_card_workflow.htm&release=264.0.0&type=5)**  
    Configure a lookup control in Visual Studio Code based Modeler to show the current Displays account and a button to launch a wizard to select a different account on the Consumer Goods offline mobile app. Add an event handler in process flow to launch the wizard for the sales rep to select a customer.
- **[Integrate Customer Lookup on Display Card](https://help.salesforce.com/s/articleView?id=ind.custom_sync_integrate_customer_lookup_to_display_card.htm&release=264.0.0&type=5)**  
    To show the current account in Displays, configure the BoMyDisplay business object and DsBoMyDisplay datasource contracts in Visual Studio Code based Modeler. To create a wizard to select a different account, add an action to the MyDisplay\_DisplayDetailsProcess process contract. Lastly, test the configuration in the simulator app.
- **[Sync Display Attachments with Named Fetch Trees](https://help.salesforce.com/s/articleView?id=ind.custom_sync_create_files_and_named_fetch_trees_for_display_objects.htm&release=264.0.0&type=5)**  
    To sync display data and images to the Consumer Goods offline mobile app, add images as attachments and create a named fetch tree for the display object in Consumer Goods Cloud. Sync the attachments and define how to show them on a new tab using a named fetch tree in the Sync Management app.
- **[Attachments Tab in Display Detail Page](https://help.salesforce.com/s/articleView?id=ind.custom_sync_add_tab_for_attachments_workflow.htm&release=264.0.0&type=5)**  
    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.