Develop Against Any Org with Visual Studio Code Tasks
I’m a big fan of Salesforce DX, particularly Salesforce CLI and scratch orgs. As the Salesforce Extensions for Visual Studio Code matures, I’ve been doing more development in that editor for my projects at work and quick proof of concepts.
Salesforce Extensions provides commands to push or pull metadata via Command Palette for projects developing against source-tracked orgs (e.g. scratch orgs).
And to deploy or retrieve metadata via right-click context menu options for projects developing against non-source-tracked orgs (e.g. sandboxes, developer edition orgs, production orgs).
But what if you want to deploy or retrieve specific pieces of metadata regardless the kind of org your project is developing against?
In my blog post, I outline how to configure and use Visual Studio Code to deploy, retrieve, and delete metadata regardless if your project tracks metadata in the source format or Metadata API format and regardless if your org supports source-tracking or not.
###
I’m a Salesforce Developer and Technical Leader. Learn more about my passion for Salesforce.com solutions @DouglasCAyers and douglascayers.com.
Fantastic!
Sarana Yadav Sabbi