Download and extract the DataPacks and add the folders to your repository folder.
- From your Salesforce org, click Setup and go to Static Resources.
-
Find and download the CPQ static resources.
You must download Flexcards_Assets, Flexcards_browse, Flexcard_cart, Flexcards_common, Flexcards_config, Flexcards_Multisite, and CPQ_DR_IP_OS_OS_OSEnabled.
- Click each resource, and then click View file to download and save it.
-
Extract the Flexcards_common.zip file and open the Flexcards_common folder.
- From the Flexcards_common folder, copy the salesforce_sfdx folder to the IDX Workspace folder.
- From the Flexcards_common folder, copy the FlexCard folder to the IDX Workspace > vlocity folder.
-
Extract the other static resources files that have a FlexCard folder within it.
The remaining static resource files to extract are Flexcards_Assets, Flexcards_browse, Flexcard_cart, Flexcards_config, and Flexcards_Multisite.
- Copy the contents of the FlexCard folder from each static resource folder to the IDX Workspace > vlocity > FlexCard folder.
- Extract the CPQ_DR_IP_OS_OSEnabled zip file and copy all its contents to the vlocity folder.
-
In your IDX Workspace folder, create a sfdx-project.json file with a copy of this code.
{ "packageDirectories": [ { "path": "salesforce_sfdx", "default": true } ], "namespace": "", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "50.0" }Your IDX project folder now has the sfdx-project.json file and the vlocity and salesforce_sfdx folders.Note The Source API version 50 or later is required.