Download DataPacks and Prepare Repository Folder

Download and extract the DataPacks and add the folders to your repository folder.

  1. From your Salesforce org, click Setup and go to Static Resources.
  2. 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.
  3. Click each resource, and then click View file to download and save it.
  4. Extract the Flexcards_common.zip file and open the Flexcards_common folder.
    1. From the Flexcards_common folder, copy the salesforce_sfdx folder to the IDX Workspace folder.
    2. From the Flexcards_common folder, copy the FlexCard folder to the IDX Workspace > vlocity folder.
  5. 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.
    1. Copy the contents of the FlexCard folder from each static resource folder to the IDX Workspace > vlocity > FlexCard folder.
  6. Extract the CPQ_DR_IP_OS_OSEnabled zip file and copy all its contents to the vlocity folder.
  7. 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"
    }
    
    Note
    Note The Source API version 50 or later is required.
    Your IDX project folder now has the sfdx-project.json file and the vlocity and salesforce_sfdx folders.