Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Salesforce DX & Deep Dive demo on force:data commands

319 views

Published on

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

Published in: Business
  • Be the first to comment

  • Be the first to like this

Salesforce DX & Deep Dive demo on force:data commands

  1. 1. 1 15 March 2018 Brussels, BE Developer Group Salesforce DX - Circle of Success 16 May 2019
  2. 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. 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. 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. 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
  6. 6. 6 Salesforce CLI improves Developer Experience • sfdx -h or sfdx --help • sfdx auth • sfdx config • sfdx org • sfdx source • sfdx mdapi • ... https://developer.salesforce.com/docs/atlas.e n-us.214.0.sfdx_cli_reference.meta/sfdx_cli_re ference/cli_reference.htm
  7. 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
  8. 8. 8 Continuous Integration Build Street
  9. 9. 9 DEMO DX Data Plans
  10. 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
  11. 11. 11 DX Plugins • https://github.com/CodeScience/codescience-dx-plugin • https://www.npmjs.com/package/sfdx-waw-plugin • https://www.npmjs.com/package/soqlx-opener • https://www.npmjs.com/package/sfdx-wsdl2apex-plugin
  12. 12. 12 Useful Links • Simple GUI version of Salesforce DX (by lance-shi) • Salesforce CLI Command Reference • Salesforce DX Developer Guide • Unlocked Packages (Generally Available) and Second-Generation Managed Packages (Beta) • Why Unlocked Packages? • Working with Modular Development and Unlocked Packages: Part 2 • Architecting Unlocked Packages in Your Salesforce Org (video on dx session)
  13. 13. 13

×