VS Code Extension: Salesforce Metadata Opener

A sleek, no friction way to open Salesforce metadata directly in your browser, right from VS Code.

A sleek, no friction way to open Salesforce metadata directly in your browser, right from VS Code.

Salesforce Metadata Opener

I bounce between code and Salesforce UI all day. Read a file, open the matching thing in the org, confirm a detail, return to code. Doing that many times eats time. This extension takes a file path in your repo and opens the exact place in Salesforce. One click. No hunting or copy and paste.

Currently supports

  • Agentforce Agents (Bots)
  • Custom and Standard Objects
  • Dashboards
  • FlexiPages
  • Flows
  • Permission Sets
  • Profiles
  • Record Types
  • Reports
  • Validation Rules

What it does

This extension jumps from a metadata file in your project to the corresponding Salesforce UI. Flow, Agentforce Agent, Profile, Validation Rule, Dashboard, and more. Pick View or Edit mode and it opens the right screen.

Features

  • Right click menu and Command Palette integration
  • Optional deploy before open behavior, configurable per metadata type
  • View and Edit modes for all supported types
  • Auto detection of the latest Flow or Bot version when needed
  • In memory caching for speed
  • Supports sf org open --source-file when available
  • View and clear metadata cache from the Command Palette

How to use it

  • Right click a supported metadata file

    • SFDX: Open ... in Edit Mode
    • SFDX: Open ... in View Mode
  • Or use the Command Palette

    • SFDX: Open Current ... in Edit Mode
    • SFDX: Open Current ... in View Mode

The extension opens the target page in Edit or View mode, based on the type and your selection.

Configuration

Deployable metadata types

Choose which metadata types should be auto deployed before opening. Each type is opt in. You control what gets deployed.

List of options to select the deployable metadata types

Use Sf Command To Open Metadata

Default true

Enable support for the sf org open --source-file CLI. If disabled, the extension uses an org based ID URL resolution.

Metadata Types That Use CLI

Default ["Flow", "FlexiPage"]

Pick which types are allowed to use sf org open --source-file. Others fall back to org based ID resolution and a constructed URL.

Enable Caching

Default true

Caches resolved metadata IDs in memory to avoid repeat queries.

Metadata cache tools

From the Command Palette:

  • SFDX: Display Cached Record Metadata
  • SFDX: Clear Cached Record Metadata

Requirements

  • Salesforce CLI sf
  • Authorized default org sf org display
  • A Salesforce DX project

Install

Install Salesforce Metadata Opener

📦 Repository on GitHub: Salesforce Metadata Opener

Feedback

Open an issue on GitHub
→ Email contact@matheus.dev

Disclaimer: This is a personal project for the developer community. It is not endorsed, sponsored, or officially supported by Trailhead or Salesforce. Use at your own discretion.

Made with ❤️ for Salesforce Developers and Trailblazers.