Add artifacts to a ZOrg
- 06 Nov 2024
- 1 Minute to read
- Print
- DarkLight
Add artifacts to a ZOrg
- Updated on 06 Nov 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Use Zilliant CLI to add artifacts from one Zilliant org to existing artifacts in another Zilliant org. This functionality can help you transfer configurations and customizations between ZOrgs.
Prerequisites
You must be running Version 1.0.0 or later of Zilliant CLI.
Procedure
To add artifacts from ZOrg-1 to the existing artifacts in ZOrg-2, follow these steps:
- From a command prompt, run the zdx project:create command to create a project on your computer.
- Sign in to ZOrg-1 and ZOrg-2.
- Run the zdx project:manifest:create command for ZOrg-1. The command creates a manifest that lists artifacts in ZOrg-1.
- Run the zdx project:manifest:create command for ZOrg-2. The command creates a manifest that lists artifacts in ZOrg-2.
- Run the zdx project:retrieve:start command. Enter the path to the ZOrg-1 manifest.
The command retrieves ZOrg-1 artifacts into the project on your computer. - Run the zdx project:deploy:script:generate command to create a script listing the artifacts you want to deploy. Enter the following values for the command parameters:
--start-manifest
—Path to the ZOrg-2 manifest.--target-manifest
—Path to the ZOrg-1 manifest.
- In the script created in Step 6, manually remove all ZOrg-2 artifacts.
- Run the zdx project:deploy:start command. Enter the ID of ZOrg-2 and the path to the edited script.
The command preserves existing artifacts in ZOrg-2 and adds to them artifacts from ZOrg-1.
Was this article helpful?