You are here:
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.
-
Add the necessary URLs for Lightning Web Components (LWCs).
- From the App Launcher, find and select OmniStudio FlexCards.
-
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.
- From Setup, in the Quick Find box, enter Remote Site Settings, and then select Remote Site Settings.
-
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.comExample: https://core-web-82002--vlocity-cmt.visualforce.com
LWC 2 https://my-domain-name.lightning.force.comExample: https://core-web-82002.lightning.force.com
- Save your changes.
- Download and install Salesforce CLI. See Salesforce CLI.
- Download and install Visual Studio Code. See Visual Studio Code.
-
Install Salesforce Extension Pack in Visual Studio Code:
- Launch Visual Studio Code.
- Click the Extensions icon.
- Search for Salesforce Extension Pack and click Install.
-
Create a project in Visual Studio Code:
- Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS) to make the command palette appear.
- Type and select SFDX: Create Project with Manifest.
- Select Standard.
- Enter any project name, press enter.
- Select a location on your computer for the project files to go.
- Click Create Project.
-
Authenticate your target org:
-
Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).
The command palette opens.
- Type SFDX: Authorize an Org, then select SFDX: Authorize an Org.
- To accept the default login URL, press Enter.
-
Enter an alias.
For example, you can enter Astro.A new Salesforce login window opens in a browser.
- Log in to your target org.
-
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.
-
Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).

