The Deploy Zip File dialog in Metazoa Snapshot validates or deploys a prepared metadata ZIP file to a destination Salesforce org. The dialog separates package creation from deployment, so an admin can build a package earlier and deploy during a later release window.
When To Use This Dialog
- Deploy a standard Metadata API ZIP file created by Snapshot or another developer tool.
- Check a prepared package for deployment errors without changing the destination org.
- Choose Apex tests or schedule deployment for a maintenance window.
Unlike Deploy Metadata, Deploy Zip File uses an existing ZIP file rather than building a deployment package from selected assets.
Open The Dialog
- Right-click a deployment arrow between two desktop items, or open the Options Menu.
- Choose Deploy ZIP File, found under the packages options on the deployment arrow.
The destination must be a Salesforce org, not a Developer Project. The connected metadata source and destination must be initialized; Snapshot prompts for a snapshot when needed.
Settings
Click Browse for ZIP File and select the prepared package. Choose the deployment behavior:
- Check For Errors Without Making Changes: Salesforce validates the package without changing the org.
- Roll Back All Changes If There Is An Error: Salesforce rolls back the entire deployment when an asset fails.
- Change Everything Possible And Ignore Errors: Failing assets are rolled back. Other assets deploy unless errors cascade.
Select Ignore Warnings when warning messages should not stop deployment. To name the Apex tests to run, select Run Selected Tests and enter the test names in the field below.
Add a Job Name (for reference), Search Tags (200 chars), and Deploy Comments (30,000 chars) to record release context. Click Deploy ZIP File to run the selected operation now.
Schedule ZIP File
Use Schedule ZIP File to run the prepared package with the chosen deployment settings at a scheduled time. Keep Snapshot in Runtime Mode so the scheduled deployment runs. Scheduled results can go to Email, Slack, Content, or Chatter; the Assistant destination stores the latest results as Org Intelligence and replaces the previous recording.
Deployment Status
The Deployment Status window shows component and test progress. InProgress means processing continues, Running Test identifies the current test, and the component and test error, completion, and total figures show progress.
Hold the Escape key to cancel deployment. Release Escape to continue when prompted. After processing, read the Salesforce response in the results text on Settings.
What The Results Tell You
The Salesforce response establishes which components and tests completed and which errors occurred. Validation without changes checks deployment acceptance but does not deploy the package. Partial deployment can leave a mixture of deployed and failed assets. Passing the selected Apex tests does not establish complete regression coverage or correct business behavior.
Before changing the org, the admin confirms the destination, package contents and business purpose, deployment mode, and an available destination snapshot for recovery. After deployment, inspect the changed metadata and perform the release's functional checks rather than relying only on counts. After a failure, review the Salesforce errors and destination state, correct the package, and validate again; a retained snapshot provides a basis for rollback.
Try The Dialog
In a sandbox, test whether a prepared metadata change can pass validation without being applied:
- Prepare a valid standard metadata ZIP containing a description change to an existing class such as
Example_Class. Note the current sandbox description. - Open Deploy ZIP File for the sandbox and select the ZIP using Browse for ZIP File.
- Choose Check For Errors Without Making Changes, then click Deploy ZIP File.
- Review Component Errors and the Salesforce response. An accepted package should have no component errors, while the sandbox description remains unchanged.
Resolve any returned errors before choosing a deployment mode that changes the org.
Deployment Records And Exports
The job name, search tags, and comments are saved in the Snapshot Deployment History Report for later review. The results text menu provides Copy All Text, Export All Text, and selected-text options for retaining the Salesforce response.
Common Questions
Can Snapshot deploy a ZIP file built by another tool?
Yes. Select a ZIP file in the standard Metadata API format. The package-building workflow remains separate from validation and deployment in this dialog.
Can I validate a metadata ZIP without changing Salesforce?
Choose Check For Errors Without Making Changes. Salesforce returns validation results without applying the package.
Does ignoring errors roll back the whole deployment?
No. Change Everything Possible And Ignore Errors allows other assets to deploy unless errors cascade. Choose Roll Back All Changes If There Is An Error for whole-deployment rollback on error.
Can I schedule a ZIP deployment for an off-hours release?
Yes. Configure Schedule ZIP File and keep Snapshot in Runtime Mode for the scheduled run.
Related Articles
- Deploy Metadata - Build a package or select metadata to deploy.
- Quick Deployment - Deploy previously validated metadata without rerunning Apex code coverage tests.
- Deployment Results Report - Review deployment history and Salesforce errors.
- Roll Back Deployment - Prepare recovery from destination backups.
- Event Schedule - Review and test scheduled work.