An overview of what you can do with Salesforce DX and a deep dive demo into sfdx force:data commands
You can find the code used in the demo on the link below
https://github.com/stvnhg/sf-demos/tree/master/dx-data-plan-demo
Salesforce DX & Deep Dive demo on force:data commands
1. 1 15 March 2018
Brussels, BE Developer Group
Salesforce DX - Circle of Success
16 May 2019
2. 2
Steven Hugo
Non profit Solution Architect | Product Dev Lead Converse
• Started in 2007
• .Net Developer (6 years)
• Salesforce Developer - custom, aura, mobile sdk (4 years)
• Salesforce Product Development (2 years)
3. 3
Salesforce powered solution for
European fundraising solutions
• 360° view on all your donors
• Segment your donors
• Collect donations on your
website
• Process direct debit payments
with ease
Salesforce Project & Release
Management Made Easy
• Manage your projects within
one workspace
• Take advantage of the Rellex
boards
• Track configuration changes
directly on the user story
• Deployments made easy
4. 4
Table Of Contents
• What is DX?
• Salesforce CLI
• Sandbox vs Scratch Org
• Continuous Integration Build Street
• Demo
• Second-Generation Packaging (2GP)
• DX Plugins
5. 5
What is DX?
• Salesforce CLI to improve & fasten Developer Experience (Git,
Selenium, VS Code, IntelliJ, Sublime, Illuminated Cloud, …)
• Disposable Scratch orgs used for development and testing.
• Source-Driven Development. VCS is source of truth.
• 2GP Second-Generation Managed Packages for ISV’s (Beta) and
Unlocked packages for Enterprise Customers
7. 7
Sandbox Scratch Org
Critical for UAT, Performance Testing, Licensing, … Awesome for temp deployments, development &
reviewing features
Permanent (No expiration date) Not permanent ( < 30 days)
Contains Production Data Does not contain any data
Slow Generation (< 24h) Fast generation (<1 min)
No source Tracking Source Tracking
MDAPI Source Format DX Source Format
sfdx force:mdapi:deploy
sfdx force:mdapi:retrieve
sfdx force:source:push
sfdx force:source:pull
10. 10
Second-Generation Packaging
• Create, package and deploy packages in a source-driven
development environment entirely with the Salesforce CLI.
• Managed packages for ISV’s (beta)
• Why Unlocked packages for Enterprise Customers
• repeatable, scriptable & trackable deployments.
• Track changes with full support for versioning.
• Organize your deployments