Loading
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Copy Datapacks to Migrate

          Copy Datapacks to Migrate

          For the second step to deploy the Industries CPQ in LWC, download the Industries CPQ static resource files. Then, extract and add them to your IDX workspace folder.

          1. From your Salesforce org, click Setup Setup Icon. and go to Static Resources.
          2. Find and download all of the CPQ static resources: CPQ_browse_flexcards, CPQ_cart_flexcards, CPQ_common_flexcards, CPQ_config_flexcards, CPQ_DR_IP_OS, and CPQ_assets_flexcards.

            Click each resource, and then click View file to download and save it.

            Static Resources

            The downloaded files look like the following example.

            Downloaded Resources Example.
          3. Extract the downloaded CPQ_browse_flexcards.zip file.
          4. Copy the extracted VlocityCard folder and its child folders to your IDX workbench/vlocity folder.
          5. Extract the downloaded CPQ_cart_flexcards.zip, CPQ_config_flexcards.zip, and CPQ_asssets_flexcards.zip files.

            The extraction creates the folders VlocityCard 2, VlocityCard 3, and VlocityCard 4.

          6. Copy the child folders in VlocityCard 2 and paste them into your IDX workbench/vlocity/VlocityCard folder.

            Don't copy the parent VlocityCard 2 folder.

          7. Copy and paste the child folders in VlocityCard 3 into your IDX workbench/vlocity/VlocityCard folder.
          8. Copy and paste the child folders in VlocityCard 4 into your IDX workbench/vlocity/VlocityCard folder.

            The copied child folders from all four extracted files all reside within the vlocity/VlocityCard folder, as shown in the following example.

            The extracted child files copied to the ​vlocity/VlocityCard​ folder.
          9. Extract the CPQ_common_flexcards.zip file.

            The extraction creates the vlocity_cmt__CPQ_common_flexcards folder with two child folders VlocityCard and salesforce_sfdx.

          10. Copy all the child folders in vlocity_cmt__CPQ_common_flexcards/VlocityCard into your IDX workbench/vlocity/VlocityCard folder.
          11. In the extracted vlocity_cmt__CPQ_common_flexcards folder, copy the salesforce_sfdx folder into your IDX workbench/ folder.

            Your project folder has the vlocity/ and salesforce_sfdx/ folders.

            The copied salesforce_sfdx folder
          12. In the IDX workbench/salesforce_sfdx/ folder, delete the CME or INS files that you're not using.

            If you're using the INS package, delete the CME files.

            • In the main/default/flexipages/ directory, delete the CME/ folder.

            • In the main/default/objects/Quote/webLinks/ folder, delete CreateOrder.webLink-meta.xml.

            If you're using the CME package, delete the INS files.

            • In the main/default/flexipages/ directory, delete the INS/ folder.

            • In the main/default/objects/Quote/webLinks/ folder, delete INSCreateOrder.webLink-meta.xml.

            The list of XML files for INS and CME
          13. Extract the downloaded CPQ_DR_IP_OS.zip file.

            The extraction creates a vlocity_cmt__CPQ_DR_IP_OS/ folder with three child folders: DataMapperOmniscript, and IntegrationProcedure.

          14. Copy DataMapperOmniscript, and IntegrationProcedure into your IDX workbench/vlocity folder.
          15. In your IDX workbench folder, create a sfdx-project.json file with a copy of the following code.
            {
                "packageDirectories": [
                    {
                        "path": "salesforce_sfdx",
                        "default": true
                    }
                ],
                "namespace": "",
                "sfdcLoginUrl": "https://login.salesforce.com",
                "sourceApiVersion": "50.0"
            }

            Your IDX project folder has the sfdx-project.json file and the vlocity and salesforce_sfdx folders

            The completed project file should include the two vlocity and salesforce_sfdx folders and the sfdx-project.json file.
           
          Loading
          Salesforce Help | Article