2. Agenda
1. Group Updates
2. Dreamforce Session Roundup
3. Group Goals Brainstorming
4. Happy Hour/Networking
3. Group Updates
New Leaders
Mike Tetlow mike.tetlow@trailblazercgl.com
Jeff Pearson jeff.pearson@trailblazercgl.com
Paul Fox paul.fox@trailblazercgl.com
New Community
https://trailblazercommunitygroups.com/denver-co-developers-group/
Meetup group and Success community chatter group are deactivated
Member Survey
https://bit.ly/2QjDQef
6. True To The Core
● IdeaExchange is changing
● Voting is going to be different,
you only get so many votes
● There are going to be events to
get ideas from the community
7. Route Your Triggers Like a Pro
Another trigger framework!
Includes an option for loosely coupled triggers
Events
Async
Trigger
End-to-End control and you need immediate
results
8. Become an Efficient Developer with VS Code
Key Takeaways
• All the config and commands you
need to know to be efficient with VS
Code
• Replay Debugger
• Example of team collab in same
scratch org
9. Super Session: Salesforce DX
Wade and Andy Fawcett writing an app
using flow, invocable apex, twilio SMS
Key Takeaways
• Named Credentials
• Code for accessibility to Admins
• Flow + Invocable Apex could be best of
both worlds
12. DX and Unlocked Packages
Our Move to Salesforce DX and Unlocked Packages
https://youtu.be/ZQClRHcM1Xo Fabien Taillon, Texeï
1. How the new packaging works
2. DX tips/tricks (check out his dependency plugin)
Advanced Techniques to Adopt Salesforce DX unlocked packages
https://youtu.be/yw-QoE4l0p0
ApexMocks, ApexCommons, Force-DI, and other tips for dependencies.
13. Advanced Apex Testing
https://youtu.be/IWVpaYBx3bc Kevin Poorman, Salesforce
@testVisible and @testSetup
Using CSVs in static resources for test data
Sanity Assertions - asserting your test setup worked
Using Callout Mocks
Stub - Mocking out method calls
How to handle DML - when to use, when to avoid
14. Apply the Salesforce CLI to everyday problems
https://youtu.be/Pql-cHcB0uE
https://github.com/pchittum/everyday-sfcli
1. Creating a sandbox
2. Deactivating a user
3. Checking limits on an org
15. User Interface API
1. Metadata + data!
2. Formatted and
Localized
3. FLS and Sharing
4. Business Logic
5. Form Factors
6. Access Modes
API versions will expire every 3 years (10 versions)
https://youtu.be/k1b7loe4py4
17. Lightning Components Pass the Test
https://www.youtube.com/watch?v=hpNcxPvAydY
Lightning Testing Service
• unmanaged package from Salesforce, https://github.com/forcedotcom/LightningTestingService
• installed through DX or manually from github
• works with any JavaScript testing service; Jasmine is the simplest
Lightning testing is different than Apex testing:
• Client side; not required; not context nor rollback (so don’t use it in a production org)
• It works well with a scratch org
• Jasmine doesn't show code coverage
Jasmine test structure:
• Test Suite (like a test class)
• Test Spec (like a method)
• Assertion
• tests are .js files and are loaded to the org as static resources
18. JavaScript Testing with the Lightning Testing Service
https://www.youtube.com/watch?v=epQQdM29UFU
Similar content to other LTS session
Tests
• Can have BeforeEach and AfterEach functions
• Can check component variable values
• There’s a built-in runner for Jasmine, lts_jasmineRunner
• Can run from DX with force:lightning:test:run
Has links to additional resources
19. Everything That's Awesome with Apex
https://www.youtube.com/watch?v=lJ4Mr1OmQ6U
New compiler is complete (Apex team is back to working on improvements)
New features: Summer '18
• SWITCH statement. Switch/When since Case is an SObject
• COUNT() queries only use 1 row
• Default code storage doubled to 6M
• Compile on deploy (instead of compile on use), default on for production orgs
New features: Winter '19
• Batch Apex error events. Need to opt in; captures all IDs in a failed batch job
• Inherited sharing. Sharing mode inherited from calling class
20. Everything That's Awesome with Apex
https://www.youtube.com/watch?v=lJ4Mr1OmQ6U
New features: roadmap
• Apex access to org limits
• Rename in VS Code
• Focus on items from IdeaExchange
21. All Dreamforce '18 Developer Sessions
https://developer.salesforce.com/dreamforce