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.

Connecticut Salesforce Developer Group - Jan 2017


Published on

Slides of Connecticut Salesforce Developer Group - Jan 2017

Published in: Technology
  • Login to see the comments

Connecticut Salesforce Developer Group - Jan 2017

  1. 1. Release Readiness - New features of Winter & Spring 17 Jan 24, 2017 Connecticut Salesforce Developer Group Organizers and Speakers : • Howard Friedman • Maria Belli – Salesforce MVP • Jitendra Zaa – Salesforce MVP
  2. 2. Meetup Agenda o Networking – 5:00 pm o AppExchange and Special guest – 5:15 pm o Composite REST API, Re-captcha and many more – 5:45 pm o Winter 16, Spring 17 features – 6:15 pm o Swag distribution and wrap up – 6:45 pm
  3. 3. Howard Friedman CT Dev group co-organizer
  4. 4. Spring ‘17 Web-to-Lead Enhancements – Spam Prevention • Ability to add reCAPTCHA to your web forms How to (try to) incorporate (demo)
  5. 5. Spring ‘17 Web-to-Lead Enhancements – Spam Prevention • Still doesn’t solve the full problem (demo)
  6. 6. Spring ‘17 Web-to-Lead Enhancements – TRUE Spam Prevention • Add field validation (helps) • Process leads server-side
  7. 7. Spring ‘17 REST API – Composite Resources • What is a REST API? A REST API defines a set of functions which developers can perform requests and receive responses via standard HTTP protocols. Simply put, it allows you to access a URL address to “C”reate, “R”ead, “U”pdate, and “D”elete data (“CRUD”)
  8. 8. Spring ‘17 REST API – Composite Resources • Traditionally, Salesforce has provided developers with “out of the box” REST APIs to perform CRUD operations on all standard and custom objects. For example you could add an Account record by calling: https://na??
  9. 9. Spring ‘17 REST API – Composite Resources • If you wanted to then add an Contact record under that Account you would need to confirm the Account was added properly, use its Salesforce ID as the AccountID of the Contact and subsequently call the Contact REST API. https://na??
  10. 10. Spring ‘17 REST API – Composite Resources • Composite Resource Allows you to consolidate CRUD options across multiple objects including creating dependencies between those objects https://na?? (demo)
  11. 11. Spring ‘17 TLS 1.0 Disabling – REMINDER Test your browsers at:
  12. 12. Jitendra Zaa Technical Architect Salesforce MVP 17x Salesforce Certifications Follow - @JitendraZaa
  13. 13. Utility Bar • GA in Spring 17 • Add utility bar in Lightning App • Footer would be available across app just like Console • It can have standard and custom Lightning Component
  14. 14. Shortcuts to Your Top Salesforce Pages with Favorites • Use Favorite at top bar of Salesforce lightning to bookmark favorite pages.
  15. 15. Limit search to specific Object • Global search can be enabled to search on specific objects only
  16. 16. Filter Reports via URL Parameters • Like classic report, now filter report with URL parameter • Example – • https://pre-releaseinstance-dev- 139902948&fv0=uni
  17. 17. Run Flows with a Lightning Skin • Feature is GA now • Visual flow now renders with Lightning skin
  18. 18. Visual flow in two column - GA • No need of JavaScript hack to show two columns in flow • Decide at flow level that if screen needs to display in two columns • Instructions 1. From Setup, go to Process Automation Settings. 2. Select Enable Lightning Runtime for Flows. • To display a flow’s screens in two columns: /flow/flowName?flowLayout=twoColumn
  19. 19. Classic Only Features
  20. 20. Omni Channel - Supervisor • Omni-Channel Supervisor Is Generally Available • Supervisors can check the health of their call center using the Agents, Queues, and Work tabs.
  21. 21. Omni Channel – Supervisor (cont.)
  22. 22. Omni Channel – Work overflow scenario • Assign Overflow Work to a User or Queue • You don’t have to miss out on work that’s created after your org reaches Omni- Channel limits. Set a user or queue to receive work until • Omni-Channel is ready to use again.
  23. 23. Development changes
  24. 24. Lightning Components
  25. 25. Create CSP Trusted Sites to Access Third-Party APIs • The Lightning Component framework uses Content Security Policy (CSP) to control the source of content that can be loaded on a page. • To use third-party APIs that make requests to an external (non-Salesforce) server, add the server as a CSP Trusted Site. • When you define a CSP Trusted Site, the site’s URL is added to the list of allowed sites for the following directives in the CSP header. – connect-src – frame-src – img-src – style-src – font-src – media-src
  26. 26. Use Unbound Expressions for One-Way Data Binding Between Components • For Lightning Components • Use the {#expression} syntax for unbound expressions • Bound expressions with {!expression} create a bidirectional data • binding that’s expensive for performance.
  27. 27. Speed Up Your Components by Fixing Performance Warnings • Browser console now shows performance anti pattern • It will appear only if debug mode is enabled for Lightning component
  28. 28. Share Lightning Apps with Non-Authenticated Users • Add the ltng:allowGuestAccess interface to your Lightning Out dependency app to make it available to users without requiring them to authenticate with Salesforce. This interface lets you build your app with Lightning components, and deploy it anywhere and to anyone. • A Lightning Out dependency app with the ltng:allowGuestAccess interface can be used with Lightning Components for Visualforce and with Lightning Out.
  29. 29. User friendly error messages
  30. 30. Apex
  31. 31. Monitor the Status of Apex Batch Jobs • Get more information about the status of Apex batch jobs. For a particular batch class, you can get information about parent jobs, such as submitted and completion dates and the number of batches processed or failed. This change applies to both Lightning Experience and Salesforce Classic.
  32. 32. Some other Apex Changes • Only One Test Setup Method per Class is Allowed • Make Web Service Callouts from Chained Queueable Jobs
  33. 33. Thank You