
Learn to use the Salesforce CLI and SFDX for building applications, deploying metadata, querying data, and automating tasks with source driven development and GitHub.
Manish Choudhari shares practical insights on SFDX and Salesforce CLI, drawing from over five years building Salesforce apps with Aura and LWC to help learners master the platform.
Learn to create an sfdx project, configure manifest with package.xml, and explore metadata retrieval and scratch org setup using the Salesforce CLI for deploying and downloading org metadata.
Authorize a Salesforce org in your SFDX project using web login flow, set an alias and default Dev Hub, and prepare to retrieve or deploy metadata.
Retrieve the content of package.xml using the mdapi topic, then convert the metadata to the source format for the sfdx project.
Deploy local sfdx changes to a Salesforce developer org using the source topic. Leverage on-the-fly conversion of source format and deploy lightning web components like the tree plantation form.
Create a test class for the tree location controller using the ApexUnitTest template, deploy tests with force source deploy, and achieve 100 percent org-wide code coverage.
Export data from tree, city, and tree plantation objects with the tree export command, saving as json, and use the plan parameter and soql queries to import parents before children.
Import Salesforce data with the sfdx force:data:tree:import command, using an import plan or json files, and insert tree, city, and tree plantation records with returned ids.
Clone a GitHub repo, authorize Dev Hub, create a scratch org, push local sfdx metadata to the scratch org, and assign permissions to access the app.
Create a new lightning web component named newTreePlantation in a scratch org, push changes with sfdx, and run tests to reach 100% org code coverage by adding TreeLocationController tests.
Install VS Code and the Salesforce Extension Pack to accelerate sfdx development, leveraging code completion, command palette, deploy on save, and an integrated org browser for Salesforce projects.
[This course is outdated and does not include latest Salesforce CLI features. I have discontinued the course as I do not have immediate updates planned for the course].
While Salesforce DX (SFDX) has been available for several years, the ecosystem is currently at a pivotal tipping point. Many organizations and developers are still navigating the transition from traditional, org-based development to the modern, Source-Driven Development model. This course is specifically engineered to bridge that knowledge gap, transforming the Salesforce CLI from a mysterious "black box" into your most powerful daily productivity tool.
Our curriculum begins by demystifying the core architecture of the Command Line Interface. We don’t just teach you which buttons to press; we help you understand the "why" behind the syntax, ensuring you can navigate any project requirement with confidence. You will progress through a hands-on journey, starting with fundamental metadata deployment and retrieval, before moving into the nuances of Source Format Metadata, which is the backbone of modern version control.
What You Will Learn
CLI Foundations: Understand the structural anatomy of a CLI command to troubleshoot and build scripts effectively.
Metadata Management: Master the transition between traditional Metadata API and the modern Source Format.
Data Operations: Go beyond the UI to query, upload, and manipulate Salesforce data directly from your terminal.
Source-Driven Strategy: Learn the end-to-end lifecycle of a project where the "Source of Truth" lives in Git, not the Org.
Environment Strategy: Explore the critical differences between Scratch Orgs and Non-Scratch Orgs (Sandboxes), and learn how to leverage each for maximum efficiency.
Advanced Automation: Scale your impact by learning how to automate repetitive tasks, paving the way for Continuous Integration and Continuous Deployment (CI/CD) pipelines.
Why Take This Course?
By the end of this program, you will have moved beyond the basics and into the realm of professional Salesforce engineering. Whether you are looking to modernize your current project or prepare for a role in an enterprise-level DevOps environment, this course provides the practical examples and architectural theory needed to thrive. You will exit with a complete understanding of the Source-Driven Development Lifecycle, ready to lead your team into the future of the Salesforce platform.