---
schema_version: "1"
id: fa9ef764a6299ae263c2a343ffa5055b08a5db77616333c662234d7eef3cc77a
title: Upload Static Resource Data for Consumer Goods Cloud Managed Packages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_task_admin_run_demo_data_batch_process.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_run_demo_data_batch_process.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2414584aa38c37e4850bc5893841ff9de06ea0589cabc296e5a0ed64ae15ce58
description: When installing the Consumer Goods Cloud managed packages for the first time, upload data such as system configurations, templates for objects, translations, picklist mappings, synchronization setup, and demo data for retail execution objects, use an Apex code.
products:
  - Consumer Goods
release: "264"
---
# Upload Static Resource Data for Consumer Goods Cloud Managed Packages

When installing the Consumer Goods Cloud managed packages for the first time, upload data such as system configurations, templates for objects, translations, picklist mappings, synchronization setup, and demo data for retail execution objects, use an Apex code.

### 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;">Available in: Lightning Experience in <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions that the have Consumer Goods Cloud enabled</td></tr></tbody></table>

To perform the data upload, from setup, change the locale and language to English (en\_US) for the logged-in user.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_admin-264-0-0-production-enus/5bb7d7f5-119d-42d0-8596-95e762837019/images/icon_important.png)

Important Perform these steps only while installing the managed packages for the first time. If you’re upgrading the Consumer Goods Cloud managed package, skip these steps and perform the steps in the [Static Resources for Upgrade Managed Packages](https://help.salesforce.com/s/articleView?id=ind.cg_concept_admin_upload_static_resources_upgrade_customer.htm&type=5&language=en_US) section.

1. From Setup, in the Quick Find box, find and select **Apex Classes**.
2. Click **Developer Console**.
3. In the developer console, from the Debug menu, select **Open Execute Anonymous**.
4. Upload data for objects that are part of the retail, sync, or both packages
    
    - To upload data from both packages, use this code.
        
        `cgcloud.PostInstallDemoDataEndPoint.installDemoData();`
    - To upload data for objects that are only part of the retail package, use this code.
        
        `Database.executeBatch(new cgcloud.PostInstallDemoSetupDataBatch('RetailRepositoryData', cgcloud.PostInstallDemoSetupDataBatch.ResourceScope.RETAIL_ONLY), 1);`
    - To upload data for objects that are only part of the sync package, use this code.
        
        `Database.executeBatch(new cgcloud.PostInstallDemoSetupDataBatch('RetailRepositoryData', cgcloud.PostInstallDemoSetupDataBatch.ResourceScope.SYNC_ONLY),1 );`
    
    ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_admin-264-0-0-production-enus/5bb7d7f5-119d-42d0-8596-95e762837019/images/icon_important.png)
    
    Important This step uploads mandatory data coupled with demo data and can’t be segregated. See [Static Resource Files](https://help.salesforce.com/s/articleView?id=ind.cg_concept_admin_upload_static_resources.htm&release=264.0.0&type=5 "After you download and install managed packages, upload multiple files from Static Resources to Salesforce by using dataloader.io.") for details on data uploaded.
5. Click **Execute**.
    
    CG Cloud creates a series of seven jobs to execute the batches. The batches are executed with batch size equal to 1.

To monitor the jobs, from Setup, in the Quick Find box, find and select **Apex Jobs**.

#### See Also

- [Language, Locale, and Currency Settings](https://help.salesforce.com/s/articleView?id=xcloud.admin_language_locale_currency.htm&type=5&language=en_US)