When installing the Consumer Goods Cloud managed packages for the first time, use an Apex call to upload DSD-related data to Salesforce.
Required Editions
| Available in: Lightning Experience in Enterprise and Unlimited Editions that have Consumer Goods Cloud enabled |
| User Permissions Needed | |
|---|---|
| To upload DSD configuration data: |
CGCloud Business Admin OR CGCloud Retail Business Admin |
Important Perform these steps only when you’re installing the managed packages
for the first time. If you’re upgrading the managed packages, skip these steps and perform
the steps in the Static Resources for Upgrade Managed Packages
section.
You must upload demo data and sync configuration for Retail Execution.
- From Setup, in the Quick Find box, find and select Apex Classes.
- Click Developer Console.
- In the developer console, from the Debug menu, select Open Execute Anonymous.
-
To upload the data, use this Apex code:
cgcloud.PostInstallDSDDemoDataEndPoint.installDemoData();
Important This step uploads mandatory data coupled with demo data and can’t be segregated. See Static Resource Files for details on the uploaded data. -
Click Execute.
Salesforce creates a series of jobs. This step uploads required data coupled with demo data and can’t be segregated. For details about the uploaded data, see Static Resource Files.
To monitor the jobs, from Setup, in the Quick Find box, find and select Apex Jobs.