Step-by-Step Guide to Deploying Metadata & Data with Salesforce DX Inspector

Introduction

It's Thursday afternoon. You've built a new Invoice object in your sandbox, added its fields and created the handful of records the feature needs. Now it all has to move to the next org. So you create a change set and add the components one by one. You upload it, wait, and deploy. Then you remember that change sets don't carry records, and out comes Data Loader and a CSV file.

Salesforce DX Inspector turns that into one job. It tracks what you change in your org, lets you pick the metadata and the records you want, and deploys both to another org from the same panel.

In this post, you'll learn what Salesforce DX Inspector is, how it's useful, where it sits next to change sets and Lifecycle Center, and what to watch out for. The embedded step-by-step guide at the end then walks you through a complete deployment between two sandboxes.

What is Salesforce DX Inspector?

DX Inspector is Salesforce's built-in tool for tracking and viewing the metadata and data changes in an org. It appears at the top of every page and builder in a sandbox, scratch org or Developer Edition org. If you remember the gray sandbox banner, this is what took its place.

Click it and a panel opens. The first time, you're asked to review and accept the opt-in terms. After that, you get four things.

Most people come for Change Management. Source tracking is the Salesforce feature that records every metadata change made in an org. Turn it on, and each change shows up on the Metadata tab without you keeping a spreadsheet of what you touched. The Data tab is where you choose the records to take along.

You don't need Git, VS Code or the Salesforce CLI for any of this. Everything happens in the browser. If you'd like to work from your desktop as well, the Step-by-Step Guide to Getting Started with Visual Studio Code for Salesforce covers that route.

How Salesforce DX Inspector is useful

  • It remembers what you changed. Source tracking lists your changes for you, so nothing depends on your memory or on that spreadsheet nobody updates.

  • Metadata and data travel together. The object, its fields and the records that make the feature work arrive in one Salesforce deployment.

  • It finds dependencies for you. When you select a component or a record, DX Inspector scans the org for what it depends on. A missing dependency is the classic reason a deployment fails.

  • It isn't tied to one production org. Change sets work only between a production org and its sandboxes. From DX Inspector, you connect to the target org by logging in to it.

  • You can change your mind. Your selection stays editable until you click Deploy. A change set is locked the moment you upload it.

  • There's a record of what happened. Activity History lists each deployment, with the error details when one fails.

What happens when you click Deploy

Order matters when you move records. A record can't be created before its object exists, and a child record can't be created before its parent. DX Inspector takes care of that sequence for you.

One thing is worth setting up early: an external ID field on the objects you plan to move. Salesforce recommends it, because it's what lets a second deployment update the existing records and not create a second copy of them.

DX Inspector vs change sets vs Lifecycle Center

Salesforce now has three native ways to move changes between orgs, and one of them has a new name. Salesforce DevOps Center has been renamed Salesforce Lifecycle Center. Salesforce Help says the change began in October 2026, so you'll see both names for a while. The older managed package keeps the DevOps Center name.

Here's a rule of thumb. If you're a solo admin or a small team moving a small, specific change, deploy it directly from DX Inspector. If several people build in parallel and you need reviews, history and a pipeline, use Lifecycle Center. Salesforce change sets still work, but Salesforce Help now points to DX Inspector as the alternative.

DX Inspector and Lifecycle Center aren't rivals. DX Inspector is also the way into Lifecycle Center from your sandbox. Connect the two, and you can commit your changes to a work item and open a change request without touching Git. For background on work items and pipelines, see the Step by Step Guide to Getting Started with Salesforce DevOps Center. It was written for the original managed package, so the screens differ, but the concepts carry over.

One difference stands out. DX Inspector deploys records along with the metadata, which isn't available in change sets or Lifecycle Center.

And if you've been moving metadata between unrelated orgs the older way, with the Salesforce ANT Migration Tool or an unmanaged package, DX Inspector is now the point-and-click option to try first.

Salesforce DX Inspector use cases

Salesforce lists six situations where metadata and data deployment fits.

Notice what they have in common. The data is configuration data: the records a feature needs to work, such as product catalogs, business rules and custom settings. Bulk test data is a different job. For that, see How To Generate & Load Realistic Fake Data in Salesforce Sandbox. And if real customer records are headed for a sandbox, read Mask Production Data in Sandbox first.

What to watch out for

  • It isn't a bulk data migration tool. One deployment moves up to 2,000 records per object and 10,000 records in total.

  • Source tracking has to be on first. Only the changes made after you enable it are picked up, and you can enable it only in Developer and Developer Pro sandboxes. For anything it missed, add the metadata manually from the Metadata tab.

  • Not every metadata type is covered. You can deploy only the types that source tracking supports. Check the Metadata Coverage Report, and keep my list of Metadata Components that Needs to be Manually Deployed in Salesforce handy.

  • A long change list can look empty. The Change Management table shows up to 4,000 changes. Go past that and it appears blank until you restart source tracking, refresh the sandbox or clear old changes.

  • You need access on both sides. That means the Customize Application permission in the source and target orgs, plus create and edit access in the target org to the objects and fields you're loading.

  • Select All doesn't select child rows. In the Metadata Dependencies window, ticking a parent row leaves its children unticked. Select them yourself.

  • Check the release status for your org. The Spring '26 release notes list metadata and data deployment as generally available from April 22, 2026, yet some Help pages still carry Beta and Developer Preview labels. If you don't see Deploy Options, look under Change Management in Setup, and confirm the current status before you depend on it.

A few good habits

  • Back up the target org's metadata and data before you deploy, so you have a way back.

  • Deploy in small batches. Problems are easier to find in ten components than in two hundred.

  • Open View Dependencies on a component before you deploy it, and include what it needs.

  • Verify in the target org afterwards. Deployment Status in Setup and Activity History in DX Inspector tell you what arrived.

Step-by-step guide overview

The guide uses two sandboxes, a source and a target. You'll create an Invoice custom object with a few fields and records in the source org. Then you'll deploy all of it to the target org and confirm that it arrived.

You'll need two Developer or Developer Pro sandboxes. Please don't try this in your production org. By the end, the Invoice object, its fields and its records will be in the target org, and you'll know where to look when a Salesforce sandbox deployment doesn't go to plan.

References & Useful URLs