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.

TrailheaDX and Summer '19: Developer Highlights

526 views

Published on

We recently announced over 300 new features and enhancements at TrailheaDX '19 and for the Summer '19 release. In our Developer Highlights webinar we explore the top features with in-depth demos, including the latest updates for Lightning Web Components (LWC), LWC Open Source, CLI updates, Change Data Capture for external objects, Asynchronous Apex Triggers, Notification Builder and more.

Watch the recording here: https://youtu.be/kmOkk74QiCo

Published in: Technology
  • Be the first to comment

  • Be the first to like this

TrailheaDX and Summer '19: Developer Highlights

  1. 1. TrailheaDX '19 and Summer '19: Developer Highlights June 27, 2019 | 10:00 a.m. IST Satya Sekhar Sr. Developer Evangelist Salesforce Vishwa Vikas Developer Relations Manager Salesforce
  2. 2. Forward-Looking Statement Statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  3. 3. Go Social! Salesforce Developers Salesforce Developers Salesforce Developers The video will be posted to YouTube & the webinar recap page (same URL as registration). This webinar is being recorded! @salesforcedevs
  4. 4. Have Questions? ● Don’t wait until the end to ask your question! ● Technical support will answer questions starting now. ● Respect Q&A etiquette ● Please don’t repeat questions. The support team is working their way down the queue. ● Stick around for live Q&A at the end ● Speakers will tackle more questions at the end, time-allowing ● Head to Developer Forums ● More questions? Visit developer.salesforce.com/forums
  5. 5. Agenda TrailheaDX ‘19 Recap Summer ‘19 Developer Highlights
  6. 6. TrailheaDX ‘19 Recap ● TrailheaDX ‘19 Event Overview ● Lightning Web Components Open Source ● Salesforce Blockchain
  7. 7. Salesforce Blockchain
  8. 8. Cross-Company Experience is Siloed Manufacturer Regulators Distributor Service Provider Your Company Channel Partner Walls around every source of data as you try to share and collaborate outside of your business Industry PeersTechnology Partners Inefficient access to data Difficult to audit Single point of failure
  9. 9. The Rise of Trust Networks Manufacturer Regulators Distributor Service Provider Your Company Channel Partner Blockchain enables a new architecture for the hyper-connected world Industry PeersTechnology Partners Trusted, shared access to data
  10. 10. Distributed SecureVerified Data saved in identical copies across the network instead of one central copy Data updated only after the network proves and validates the entry is safe Data saved securely and signed cryptographically making it hard to tamper with Blockchain is a new kind of a database that saves and traces data in a way that is:
  11. 11. Salesforce Blockchain The fast and easy way to build trusted partner networks Pilot Build Networks with Clicks Declaratively build apps, networks, and smart contracts that extend CRM to partners Automate with Lightning Platform Make blockchain data actionable with built-in support for Flows, Search, AI, and Bots Engage Partners Easily Connect apps to engage partners and increase the adoption of your network
  12. 12. Lightning Web Components Open Source
  13. 13. Web Components Templates Custom Elements Shadow DOM Modules ECMAScript 6+ Events Standard Elements Rendering Salesforce Bindings Base Lightning Components Lightning Web Components Framework Web Standards Build Apps Fast Lightning Web Components Enhanced productivity with web standards Use the modern language of the web: ES6+, Custom Elements, classes, modules and imports Engineered for performance More code executed by the browser instead of JavaScript abstractions for a blazing fast experience Compatible and easy to use Runs side-by-side with Aura components and can be composed with clicks or code Web Components Templates Custom Elements Shadow DOM Modules ECMAScript 6+ Events Standard Elements Rendering Salesforce Bindings Base Lightning Components Lightning Web Components Framework Salesforce Bindings Base Lightning Components Lightning Web Components Framework Now Open Source Web Components Templates Custom Elements Shadow DOM Modules ECMAScript 6+ Events Standard Elements Rendering Use On and Off Lightning Platform Learn by exploring the source code Contribute code and drive the roadmap
  14. 14. Build Apps Anywhere with LWC OSS! Documentation lwc.dev Salesforce Open Source opensource.salesforce.com RFCs github.com/salesforce/lwc-rfcs
  15. 15. D E M O L I G H T N I N G W E B C O M P O N E N T S O S S
  16. 16. Summer ‘19 Release: Developer Highlights ● Developer Productivity ● Lightning Platform ● Platform Events and Change Data Capture ● Lightning Experience ● Mobile ● Einstein Platform services ● Sample Gallery
  17. 17. Developer Productivity
  18. 18. Salesforce Development Workflows Org Development Package Development Use the workflows you know to deploy to sandboxes and production orgs Use packages and scratch orgs for flexible and modular release managememnt
  19. 19. What’s new with Org Development Modern tools are now integrated with traditional methods Use Salesforce CLI for sandbox operations (beta) force:org commands to create, clone, delete, list, and display information Use CLI source Commands for Full Application Lifecycle source:deploy and source:retrieve are consistent with mdapi
  20. 20. What’s new with Package Development Create environment with more scratch org features Configure scratch org with Einstein Bots Turn on Einstein feature in Dev Hub and add the chatbot feature in scratch org definition file Scratch org version selection is available Select previous, current or preview version with release property in scratch org definition file
  21. 21. More CLI and VS Code updates Run Salesforce CLI commands faster with oclif Salesforce CLI is migrated to Heroku's Open CLI Framework (oclif) for v7 of Salesforce CLI Create DX project with expanded scaffolding use force:project:create --template empty for minimal amount of scaffolding Lightning Explorer for VS Code Salesforce Aura Extension for VS Code now supports code completion for Aura component tags, attributes, and JavaScript (Beta) Faster list of authorized orgs with force:auth:list
  22. 22. D E M O D E V E L O P E R P R O D U C T I V I T Y ( S A L E S F O R C E C L I A N D V S C O D E )
  23. 23. Lightning Platform
  24. 24. Lightning Web Components: Container Expansion Implement Lightning Web Components and the latest web standards in more places than ever before Visualforce Lightning Out(Beta) Email Integrations Stand-alone Apps
  25. 25. LWC – Improved Components lightning-button-icon lightning-button-menu lightning-checkbox-group lightning-combobox lightning-datatable lightning-dual-listbox lightning-icon lightning-input lightning-input-address lightning-input-field lightning-input-location lightning-input-name lightning-input-rich-text lightning-map lightning-output-field lightning-pill lightning-radio-group lightning-record-edit-form lightning-record-view-form lightning-textarea
  26. 26. LWC – New and Changed Modules New Modules lightning/empApi lightningsnapin/baseChatMessage @salesforce/apexContinuation Improved Modules lightning/navigation @salesforce/user/isGuest
  27. 27. D E M O L I G H T N I N G P L A T F O R M ( L I G H T N I N G W E B C O M P O N E N T S )
  28. 28. Platform Events and Change Data Capture
  29. 29. Capture changes without custom code Easily select objects to capture data changes on with clicks Keep your key systems up to date Ensure downstream systems always have the right data Scale with ease to millions of events daily Events are held for 72-hours to prevent data loss Change Data Capture Generally Available 12/18 Detect changes on Salesforce records in real-time No polling No batch ETL processes No point-to-point integrations “/data/ChangeEvents” Channel Account { Name : } Account { Name : } Account { Name : “Acme” } “Acme” “Acme” “Acme”
  30. 30. Async Apex Triggers GA Complex computations and logic executed outside of the transaction True Post-Commit Execution Triggers execute asynchronously after a transaction Faster End-user Experience Less logic and computation inside the transaction leads to quicker end-user experiences and fewer limit concerns Event-driven and Decoupled Errors in processing won’t rollback or impact the transaction trigger CaseChangeEventTrigger on CaseChangeEvent (after insert) { // Setup .... // Perform heavy (slow) computation .... // Cleanup / Finish .... }
  31. 31. trigger CaseChangeEventTrigger on CaseChangeEvent (after insert) { List<CaseChangeEvent> changes = Trigger.new; Set<String> caseIds = new Set<String>(); // Get all Record Ids for this change for (CaseChangeEvent change : changes) { List<String> recordIds = change.ChangeEventHeader.getRecordIds(); caseIds.addAll(recordIds); } // Perform heavy (slow) computation determining Red Account RedAccountPredictor predictor = new RedAccountPredictor(); Map<String, boolean> accountsToRedAccountStatus = predictor.predictForCases(new List<String>(caseIds)); // Publish platform events for predicted red accounts List<Red_Account__e> redAccountEvents = new List<Red_Account__e>(); for (String acctId : accountsToRedAccountStatus.keySet()) { if (rating=='Red') { redAccountEvents.add(new Red_Account__e(Account_Id__c=acctId, Rating__c=rating)); } } if (redAccountEvents.size() > 0) { EventBus.publish(redAccountEvents); } } When should I use Async Triggers? Any calculation or piece of logic that can happen after the data is changed Keep critical logic in the transaction Data validation, data consistency, and required prerequisite operations before data is changed Processing that can happen “later” -- Heavyweight computations -- Einstein (or other ML/AI) operations -- Notifications to other systems -- Joining of data from different sources -- Summary calculations
  32. 32. External Change Data Capture GA Detect changes on external objects and execute business logic Declarative Setup and Enablement Use clicks to enable -- no code required Deep Platform Integration Change events are delivered to Apex Triggers and external subscribers OData 4 Compatible Leverage your existing connectors and start receiving change notifications today trigger LowOnStock on Product__ChangeEvent (after insert) { // Filter out deleted product events. Get product ids Set<Id> ids = new Set<Id>(); for (Product__ChangeEvent event: Trigger.new) { if (event.ChangeEventHeader.getChangeType() != ‘DELETE’) { ids.add(event.ChangeEventHeader.getRecordIds()[0]); } } // Get Products for associate change events low in stock List<Product__x> products = [SELECT Id, Stock__c FROM Product__x WHERE Id in :ids AND Stock__c < 5]; // Get potential buyers interested in product List<Buyer__c> buyers = ProductBuyers.getPotentialBuyers(products); // Send SMS to potential buyers. Notifier.sendSms(buyers, ‘We have ‘ + products.size() + ‘ products low on stock that might interest you.’) }
  33. 33. D E M O C D C A N D A S Y N C A P E X T R I G G E R
  34. 34. Lightning Experience, Mobile, Einstein Platform services and other updates
  35. 35. Lightning Experience Configuration Converter Prepare Visualforce pages for lightning experience(Beta) Record Page: Full View (Beta) Choose between the current view and full view Notification Builder Send custom notifications from a process Apex Defined Data Types in Flows Create an Apex Class with AuraEnabled propertiesto make it available in Flows as a Data Type In-App Guidance Create custom in-app prompts for the end users
  36. 36. Unified User Experience Lightning Apps and Navigation Lightning on Mobile Bringing the Lightning Platform to the Salesforce Mobile App Responsive Components Lightning Components in Record Pages Customize with Clicks Lightning App Builder
  37. 37. Einstein Platform Services Limit on API calls that return examples Number of API Calls to Return Examples Is Limited to 30 Calls Per Month Maximum Image/Text Dataset Size Increased Doubled the maximum size of an image/text dataset from 1 GB to 2 GB API Response JSON contains numOfDuplicates field It indicates the number of images not added to the dataset because they’re duplicates API Response JSON Contains a New language Field It is N/A for Einstein Vision and English for existing datasets
  38. 38. Explore Reference Code and Learn Best Practices with Sample Gallery ● Recipes ● Recipes Open Source ● E-Bikes ● DreamHouse ● Pure Aloe ● Dream Invest ● Easy Spaces ● Redwoods Insurance
  39. 39. 1. Process Builder and Flow Builder 2. Quip Notifications Lightning Component Summer ’19 ReleaseHighlights Sales 1. High Velocity Sales Enhancements 2. Pardot: Einstein Campaign Insights 3. CPQ: Einstein Pricing Guidance 4. Eintstein Activity Metrics 5. Customizable Product Schedules 1. DigitalEngagement: Messagingfor AppleBusiness Chat 2. FieldServiceLightning: DispatcherConsole Enhancements 3. MacroEnhancements 4. DigitalEngagement: Agent-InitiatedMessaging 5.EinsteinBots Enhancements Service Marketing 1. Marketing Cloud Integration with Google Analytics 360 Enhancements 2. Advertising Studio Integration with Google Customer Match 3. Advertising Studio Integration with Pinterest 4. Interaction Studio: Batch Decisions 5. Datorama Connector forMarketing Cloud and Mobile 6. Marketing Cloud Email Connector for Audience Studio 7. Email Studio: Live Weather Block 8. Einstein Engagement Frequency Community Commerce 1. Commerce Connector Enhancements 2. Unified Authentication 3. B2B Commerce Integration with Google Analytics 4. Lightning Components for Community Builder Quip 3. Quip for Service Cloud 4. Quip for Sales Cloud 5. Setup and User Management Enhancements Industries 1. Insurance Innovation 2. Inbound Scheduling 3. Lightning Flows Platform Platform Services 1. Shield: Case-Insensitive Filter- Preserving Encryption 2. Big Objects: Setup Enhancements 3. Apex Triggers on Change Data Capture Events 4. Einstein Prediction Builder Enhancements 5. Platform Events: Post-Commit Publishing Lightning Experience 1. Configuration Converter 2. Record Page: Full View 3. Related List Enhancements 4. Related List Filters 5. In-App Guidance 6. New and Improved Lightning Components Einstein Analytics 1. Visual Data Prep 2. Fast Start Templates Enhancements 3. Einstein Predictions Service 4. AND/OR Filter UI 5. New Connectors 1. Mobile Publisher Enhancements 2. Missions Enhancements 3. Record List Enhancements 4. Lightning Web Components for Community Cloud 5. Developer Experience: Community Creation and Publishing APIs Success Cloud 1. Help Portal Enhancements 2. New and Refreshed Accelerators 3. Marketing Cloud Digital Services 4. Pardot Jump Start 5. Sales Cloud Jump Start 6. Proactive Monitoring: New Alerts FinancialServicesCloud 1. Life Sciences Program Management 2. ANSI 278 Authorization Business APIs HealthCloud 4. Enhanced Household Relationship Views 5. Action Plan Enhancements 3. Lightning Scheduler: Inbound Scheduling Lightning Platform 1. LWC: Container Expansion 2. Lightning Flow: Apex Building Blocks with Types 3. Scratch Org Version Selection 4. Unlocked Packaging Enhancements 5. Lightning Components: Continuations
  40. 40. sforce.co/buildspiration
  41. 41. Q & A Try Trailhead: trailhead.salesforce.com Join the conversation: @salesforcedevs Join Trailblazer Community Group: bit.ly/webinarinapac
  42. 42. Survey Your feedback is crucial to the success of our webinar programs. Please fill out the survey at the end of the webinar. Thank you!

×