Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
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
          Update an External File Contract

          Update an External File Contract

          Convert the updated C3JS or D3 library to base-64 encoded string and append the encoded string to the external file contract.

          Required Editions

          Available in: Enterprise, Performance, and Unlimited Editions
          1. In the Terminal or at the command prompt, change the directory to the location where the updated version of the C3JS or D3 library is located.
          2. To convert the binary data of the external file to a base64 string, run sf modeler workspace utils base64encode. For example, to obtain the base64-encoded string for C3JS zip, run: sf modeler workspace utils base64encode --input ./C3JS.zip
          3. Copy the base64-encoded string to the CDATA block of the C3JS external file contract. Make sure you wrap the base64-encoded string in the CDATA block.
          4. Update the version value to match your updated external file.
          5. Save your changes.
           
          Loading
          Salesforce Help | Article