Add artifacts to a ZOrg
  • 06 Nov 2024
  • 1 Minute to read
  • Dark
    Light

Add artifacts to a ZOrg

  • Dark
    Light

Article summary

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:

  1. From a command prompt, run the zdx project:create command to create a project on your computer.
  2. Sign in to ZOrg-1 and ZOrg-2.
  3. Run the zdx project:manifest:create command for ZOrg-1. The command creates a manifest that lists artifacts in ZOrg-1.
  4. Run the zdx project:manifest:create command for ZOrg-2. The command creates a manifest that lists artifacts in ZOrg-2.
  5. 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.
  6. 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.
  7. In the script created in Step 6, manually remove all ZOrg-2 artifacts.
  8. 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?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.