TrailheaDX '18 was a Salesforce developer conference held in April 2018 in Dublin. It focused on product education and training developers. Unlike the larger Dreamforce conference, it was held at the smaller Moscone West venue and targeted professional developers. The main topics covered at TrailheaDX included DevOps, Einstein, Lightning, and announcements about Mulesoft acquisition, certification exams on Trailhead, and blockchain. Sessions provided information on Salesforce DX, packaging 2.0, metadata API enhancements, and the DevOps roadmap.
13. 13
Salesforce DX vs. Packaging 2.0
Salesforce DX
Umbrella program
Manage development lifecycle
1. Source of truth is VCS
2. Dev Hub and scratch orgs
3. CLI
Packaging 2.0
Part of DX program
Manage components soup in prod
1. Shipping meccanism
2. Namespace for bespoke apps
3. Developer Controlled Packages
⇒ Unlocked Packaged
14. Why? Simplify multi-apps SDLC (enterprise orgs) + Reduce risk of technical debt
What? Principles of ISV packages for Enterprise customers without ISV constraints
How? Example Morgan & Morgan
• Slice and dice the org in apps
• Identify org wide requirements
• Add a Standard Objects package
• A component only belongs to one app
• Extend classes between dependencies
• Leverage Platform Events
14
Unlocked Packages
Marketing Sales Service
Standard Objects Config
Org Wide Config
Platform Events
15. 15
Unlocked Packages
Production transition is complex (year+ long project for Morgan & Morgan)
• Several hundred users
• 3 standard apps + 1 bespoke + AppExchange
• 3 developers + 2 admins
Fresh orgs is still not easy (new approach)
Will become best practice
Marketing Sales Service
Standard Objects Config
Org Wide Config
Platform Events
16. 16
Resources
Trailhead: Quick Start: Unlocked Packages
Trailhead: Unlocked Packages for Customers
Reference: Salesforce DX Developer Guide (Packaging)
Salesforce: Simplify your code with module development
Fabien Taillon: Our move to DX and Developer-Controlled Packages
18. Spring 18 (TDX) Summer 18 Winter 19 (DF)
Salesforce
CLI
Open CLI & Plugins Beta
SFDX Core Library Beta
Enhanced Apex Log Handling
Expanded Source Decomposition
Data Import / Export &
Synthetic Data
Environment
s
Sandbox Cloning Beta Sandbox Cloning Beta
More Features & Pref Support
Sandbox Cloning GA
Sandbox Management in Hub
Scratch Org Shape Pilot
More Features & Pref Support
Tooling Apex Replay Debugger Beta
Lightning Language Service
Apex Replay Debugger GA
Packaging &
Change Sets
Unlocked Packages Beta Unlocked Packages Beta
CLI, IDE Support for Change Sets
Unlocked Packages GA
Metadata
APIs
Metadata Coverage Report Metadata Deploy Rest API Pilot
Modify Metadata Permission Beta
Dependency API Pilot
Metadata Deploy Rest API GA
Read-Only Metadata Permission
Dependency API GA
Devops Roadmap
18