Skip to main content

Deploying Specific Metadata Types

Type-by-type guides for deploying individual Salesforce metadata — record types, Apex, connected apps, scheduled jobs, and more — with mtdt.io.

📄️ Deploy Individual Salesforce Assignment Rules

Deploying one Salesforce assignment rule shouldn't mean deploying all of them — or silently switching off the one that's live. Assignment rules are an all-or-nothing Metadata API container (one bad rule fails the whole deploy), and only one rule can be active per object (deploying an active rule silently deactivates the current one, with no error). mtdt.io deploys individual assignment rules as a merge and warns before an active rule flips the target's live one.

📄️ Deploying a Connected App from Sandbox to Production

You can deploy a Connected App from sandbox to production with the Metadata API (mtdt.io does), but as of Spring '26 Salesforce blocks creating a brand-new connected app on any org unless Support enabled it — you get FUNCTIONALITY_NOT_ENABLED: "You can't create a connected app." Existing apps still deploy as updates. The consumer secret never travels, so the target issues its own consumer key/secret. Here's how to deploy one, what the gate means, and how mtdt.io warns before and decodes after.