Build Tool Commands for Deploying Omnistudio Data Between Orgs (Managed Package)

For the managed package runtime, use two Build Tool commands to deploy Omnistudio data from a source org to a target org.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

# Source Org
vlocity -sfdx.username source_org@vlocity.com -job EPC.yaml packExport
vlocity -sfdx.username source_org@vlocity.com -job EPC.yaml packRetry # If any errors
# Target Org
vlocity -sfdx.username target_org@vlocity.com -job EPC.yaml packDeploy
vlocity -sfdx.username target_org@vlocity.com -job EPC.yaml packRetry # If any errors

The Build Tool adds the Build Tool path within sfdx-project.json. If the Build Tool is executed within an SFDX project, it’s possible to have multiple package directories. However, if paths within those directories refer to non-Omnistudio components, conflicts can result. When you run the Build Tool, remove all paths to packageDirectories within sfdx-project.json except the path for Omnistudio components, and set the default key to true. For example:

"packageDirectories": [

{

"path": "vlocity-temp/tempDeployLWC/salesforce_sfdx",

"default": true

}

],