Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Energy & Utilities 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
          Prepare Your Org for Short Cycle Work Static Resources

          Prepare Your Org for Short Cycle Work Static Resources

          Configure your org and install desktop utilities to prepare for the download and deployment of Short Cycle Work resources.

          In order to deploy the static resource components, you must configure Lightning Web Components, and download these desktop utilities:

          • Salesforce CLI: A command-line interface for all Salesforce developer tools.

          • Visual Code Studio (VS Code): A free, open-source code editor.

          You will use these desktop utilities to manage the mapping and deployment of Short Cycle Work components into your target org.

          1. Add the necessary URLs for Lightning Web Components (LWCs).
            1. From the App Launcher, find and select OmniStudio FlexCards.
            2. If a Warnings icon appears, click the icon, and then copy the two URLs from the Warnings window.
              If no warnings appear, skip updating the remote site settings and move to the next step.
            3. From Setup, in the Quick Find box, enter Remote Site Settings, and then select Remote Site Settings.
            4. Click New Remote Site and individually create these LWC remote sites with the URLs that you copied:
              Remote Site Name Remote Site URL
              LWC 1

              https://my-domain-name--vlocity-cmt.visualforce.com

              Example: https://core-web-82002--vlocity-cmt.visualforce.com

              LWC 2

              https://my-domain-name.lightning.force.com

              Example: https://core-web-82002.lightning.force.com

            5. Save your changes.
          2. Download and install Salesforce CLI. See Salesforce CLI.
          3. Download and install Visual Studio Code. See Visual Studio Code.
          4. Install Salesforce Extension Pack in Visual Studio Code:
            1. Launch Visual Studio Code.
            2. Click the Extensions icon.
            3. Search for Salesforce Extension Pack and click Install.
          5. Create a project in Visual Studio Code:
            1. Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS) to make the command palette appear.
            2. Type and select SFDX: Create Project with Manifest.
            3. Select Standard.
            4. Enter any project name, press enter.
            5. Select a location on your computer for the project files to go.
            6. Click Create Project.
          6. Authenticate your target org:
            1. Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).
              The command palette opens.
            2. Type SFDX: Authorize an Org, then select SFDX: Authorize an Org.
            3. To accept the default login URL, press Enter.
            4. Enter an alias.
              For example, you can enter Astro.
              A new Salesforce login window opens in a browser.
            5. Log in to your target org.
            6. When you are asked to grant access to the connected app, click Allow, then close the browser window.
              The command-line terminal window displays a message when the authentication is successful.
           
          Loading
          Salesforce Help | Article