Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Salesforce Metadata ManagerNew to Visual Studio Code? Get it now.
Salesforce Metadata Manager

Salesforce Metadata Manager

Shabu Thomas

|
19 installs
| (0) | Free
Manage and retrieve Salesforce metadata components with a visual interface
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Salesforce Metadata Manager

A Visual Studio Code extension that provides a user-friendly interface for managing and retrieving Salesforce metadata components. Create package.xml files and retrieve metadata with just a few clicks.

Features

  • Visual Component Selection: Browse and select metadata components through an intuitive interface
  • Automatic Package.xml Generation: Creates properly formatted package.xml files automatically
  • Metadata Retrieval: Retrieve selected components directly from your Salesforce org
  • Real-time Status Updates: Track retrieval status for each component
  • Error Reporting: View detailed error information for failed retrievals
  • Existing Package Support: Load and modify existing package.xml files

Prerequisites

  • Visual Studio Code
  • Salesforce CLI (sf) installed and configured
  • Authenticated Salesforce org connection

Installation

  1. Download the .vsix file
  2. Open VS Code
  3. Press Ctrl+Shift+P and type "Extensions: Install from VSIX"
  4. Select the downloaded .vsix file
  5. Restart VS Code

Usage

Opening the Extension

Method 1: Command Palette

  1. Press Ctrl+Shift+P
  2. Type "Salesforce: Open Metadata Manager"
  3. Press Enter

Method 2: Context Menu

  1. Right-click on any folder in the Explorer
  2. Select "Open Metadata Manager"

Selecting Components

  1. Choose Metadata Type: Select from the dropdown (e.g., Apex Class, Custom Object)
  2. Select Components: Choose specific components from the filtered list
  3. Review Selection: View selected components in the table below

Loading Indicators

  • Progress Spinners: Visual indicators show when metadata types and components are loading
  • No Components Message: Clear notification when no components are found for a selected metadata type

Retrieving Components

  1. Click the "Retrieve Components" button (top-right)
  2. Watch the progress indicator
  3. Check the Retrieval Status column for results:
    • ✅ Success (green): Component retrieved successfully
    • ❌ Failed (red): Component retrieval failed
  4. View error details in the Error Details section (if any failures occur)

Managing Components

  • Remove Components: Click the 🗑️ icon next to any component
  • Load Existing: Automatically loads components from existing manifest/package.xml
  • Package.xml Location: Generated files are saved to manifest/package.xml

Screenshots

Main Interface - No Existing package.xml

Main Interface - No Existing package.xml The main interface showing up on page load when there is no existing package.xml

Loading Components

Loading Components Loading of components for selected metadata type

Selected Components

Selected Components Selected components for metadata retrieval

Failed Retrieval

Failed Retrieval sf project retrieve command failed

Succesful Retrieval (Partial Failure)

Succesful Retrieval (Partial Failure) sf project retrieve command failed

Succesful Retrieval

Succesful Retrieval sf project retrieve command successful

Newly Created Package.xml

Newly Created Package.xml Package.xml created with selected components

Main Interface - Loading Existing package.xml

Main Interface - Loading Existing package.xml The main interface showing up on page load when there is an existing package.xml

Interface Overview

Main Sections

  1. Metadata Type Selector: Choose the type of metadata to browse
  2. Component Selector: Pick specific components of the selected type
  3. Selected Components Table: Review your selections with columns:
    • Component API Name
    • Metadata Type
    • Retrieval Status
    • Remove Action
  4. Retrieve Button: Execute the retrieval process
  5. Error Details: Shows failed components with error messages

Status Indicators

  • Loading States: Shows progress messages while fetching data
  • Retrieval Status:
    • - (default): Not yet retrieved
    • Success (green): Successfully retrieved
    • Failed (red): Retrieval failed
  • Progress Icon: Spinning indicator during retrieval

Loading Indicators

  • Metadata Type Loading Spinner: Spinning indicator appears in the metadata type input field while loading all metadata types
  • Component Loading Spinner: Spinning indicator appears in the component input field while loading components for a selected metadata type
  • Retrieval Progress Spinner: Spinning indicator appears during metadata retrieval process

File Structure

your-project/
├── manifest/
│   └── package.xml          # Generated package file
└── force-app/
    └── main/
        └── default/         # Retrieved metadata components

Supported Metadata Types

The extension supports all metadata types available in your Salesforce org, including:

  • Apex Classes
  • Apex Triggers
  • Custom Objects
  • Flows
  • Lightning Web Components
  • Aura Components
  • Profiles
  • Permission Sets
  • And many more...

Requirements

  • Salesforce CLI: Must be installed and available in PATH
  • Authenticated Org: Run sf org login web to authenticate
  • Salesforce Project: Must be in a valid Salesforce DX project directory

Troubleshooting

Common Issues

"No workspace folder found"

  • Ensure you have a folder open in VS Code
  • Make sure it's a valid Salesforce DX project

"Failed to fetch metadata types"

  • Check your Salesforce CLI authentication: sf org display
  • Verify internet connection
  • Ensure you're in a Salesforce project directory

Components not loading

  • Verify the metadata type exists in your org
  • Check if you have proper permissions to access the metadata type

Retrieval failures

  • Check the Error Details section for specific error messages
  • Verify component names are correct
  • Ensure you have retrieve permissions for the components

"No components retrieved" message

  • This message appears when no components are found for a selected metadata type
  • It could indicate that the metadata type is empty or you lack permissions to view its components
  • Check your org permissions and verify the metadata type has components

Getting Help

  1. Check the Error Details section for specific error messages
  2. Verify your Salesforce CLI setup: sf org display
  3. Ensure proper permissions in your Salesforce org

Version History

1.1.1

  • Added progress spinners for metadata type and component loading
  • Improved error messaging for "no components retrieved" scenarios
  • Enhanced user feedback during loading processes

1.1.0

  • Email templates, documents, and dashboards in personal folders will not be displayed
  • Enhanced filtering for folder-based metadata types

1.0.2

  • Added visual interface for metadata management
  • Implemented real-time retrieval status tracking
  • Added error reporting and details
  • Support for existing package.xml files

License

MIT License - see LICENSE file for details

Author

Shabu Thomas
Email: ars.shabu@gmail.com


Note: This extension requires an active Salesforce CLI installation and authenticated org connection to function properly.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft