Salesforce Deployment Suite for Visual Studio Code
This extension is designed to streamline the deployment process between Salesforce orgs (Scratch Orgs, Sandboxes, and Developer Edition (DE) Orgs).
Developers and Admins can easily search, select, and deploy metadata components.
Key Features
Metadata Management:
Search & Select metadata components directly from authorized orgs.
Advanced Filters — Filter components by Type, Name, Last Modified Date, and Last Modified By.
Compare Components — Compare metadata between Source and Target orgs to identify differences before deployment.
Caching Support — Cache component lists to reduce load times and avoid fetching data from the org on every request.
Component Handling:
Snapshots — Save selected components as snapshots for future deployments.
CSV Export — Export available or selected components to a CSV file.
Bulk Selection — Quickly select components using the TYPE.NAME format.
Deployment Options:
Package.xml Generation — Generate package.xml for use in tools like the ANT Migration Tool.
Deploy/Validate — Deploy or validate components to/from different authorized orgs.
Test Options — Choose from various test levels during deployment/validation.
Additional Features:
View Test Class Failures — Display detailed test class failures, including error messages and stack traces.
Track Deployment Failures — Get a clear view of failed deployments with reasons and failed components highlighted.
Cancel Deployment — Ability to cancel ongoing deployments.
Quick Deployment — Fast-track deployments that have been validated successfully.
Workflow Guide
Setup SFDX Project in VS Code: Install Salesforce CLI and VS Code, add the Salesforce Extension Pack, create a project using SFDX: Create Project With Manifest, and authorize at least two orgs using SFDX: Authorize an Org.
Launch the Extension using SFDX Deployment: Select and Deploy metadata
Select Source Org: Choose the source org from available authorized orgs.
Load Components: On org selection, the tool loads all available components. Components are loaded from cache if previously fetched to optimize performance.
Filter Components: Use the 'Type' dropdown to filter components by type (e.g., ApexClass, CustomField, LightningComponentBundle, etc.).
Select Components: Search and select components to be deployed.
Bulk Selection: Use the Bulk Selection button to select multiple components at once using the TYPE.NAME format.
Manage Selections: Switch to the 'Selected' tab to review selected components.Uncheck any component to remove it from the selection.
Generate Package.xml: Click the 'Package.xml' button to generate the package.xml for deployment.
Export Components: Use Export All or Export Selection buttons to save the list of components as a CSV file.
Snapshots: Save component selections as Snapshots for future deployments.
Select Destination Org: Click 'Next' to move to the next screen and select the destination org for deployment.
Test Options: Use the 'Test Options' dropdown to select test levels (e.g., Run Local Tests, Run All Tests).
Compare Components: Click the Compare button and Click "View" link of the each component to view differences between source and target org components.
Validate & Quick Deploy: Use the Validate button to validate components against the target org. If validation passes, use Quick Deployment for immediate deployment.
Deploy & Cancel: Click the Deploy button to start the deployment. Use the Cancel link to abort an ongoing deployment.
Review Failures & Coverage: Use dedicated tabs to review Test Class Failures, Component Deployment Failures and Code Coverages.
Report Issue: Use "Help" link next to the title to report the issue.