For the managed package runtime, review Build Tool commands organized and described by export and deploy, troubleshooting, and additional tasks (such as rebuilding data packs, comparing local files with an org, and listing data packs that can be exported).
This information is for Omnistudio for Managed Packages. For Omnistudio on standard
runtime, see Omnistudio Help.
Export and Deploy Commands
| Command | Description |
|---|---|
| packExport | Export from a Salesforce org into a data pack directory. |
| packExportSingle | Export a Single data pack by ID. |
| packExportAllDefault | Export all default data packs as listed in supported types table. |
| packDeploy | Deploy all contents of a data packs directory. |
Troubleshooting Commands
| Command | Description |
|---|---|
| packContinue | Continues a job that failed due to an error. |
| packRetry | Continues a job retrying all deploy errors or re-running all export queries. |
| validateLocalData | Check for missing global keys in data. |
| cleanOrgData | Run scripts to clean data in the org and add global keys to SObjects missing them. |
| refreshProject | Refresh the project's data to the latest format for this tool. |
| checkStaleObjects | To ensure that you see any missing reference errors before your deployment, verify that all references in your project exist in either the org or locally. |
Additional Commands
| Command | Description |
|---|---|
| packGetDiffsAndDeploy | Deploy only files that are modified compared to the target org. |
| packGetDiffs | Find all differences in the org compared to local files. |
| packBuildFile | Build a data packs directory into a data pack file. |
| runJavaScript | Rebuild all data packs running JavaScript on each or run a Node.js script. |
| packUpdateSettings | Refresh the data pack settings to the version included in this project. Use this command only if you’re on the latest major version of the managed package. |
| runApex | Runs Anonymous Apex specified in the option -apex at the specified path or in the /apex folder. |
| packGetAllAvailableExports | Get list of all data packs that can be exported. |
| refreshVlocityBase | Deploy and activate the base data packs included in the managed package. |
| installVlocityInitial | Deploy and activate the base data packs and configuration data packs included in the managed package. |
| installDPsfromStaticResource |
Install data packs from Static Resource based on a Query. Add this query to the job file:
|
- Additional Command Line Options (Managed Package)
For the managed package runtime, the job file additionally supports some build-based options and the options available to the data packs API. - Omnistudio Build Tool Command Examples (Managed Package)
For the managed package runtime, here are some examples of Build Tool commands.