Summer ’16 Release Developer Overview
Carl Brundage | @carlbrundage Fortimize | Director Product & Solution Architect | 14x Certified
Peter Knolle | @PeterKnolleTrifecta Technologies | Solutions Architect | Salesforce MVP
Agenda
Lightning Dev Updates Apex Sandboxes Community Changes Wave Analytics Lightning & App Builder – GA!
Lightning Updates - LockerService
Enforces coding standards for Lightning Components
Critical Update– Automatic in new orgs– Manually enable until October
See Also – Lightning Components Access Checks Critical Update
Demo – LockerService
Salesforce Lightning CLI
Heroku CLI Plugin Checks for problematic code
– Intrisic APIs– Secure Global DOM objects– Aura ($A) APIs, Lightning Component
Based on ESLint Runs on local files Can add custom rules
Demo – Lightning CLI
Salesforce Lightning Inspector
Chrome Extension Component Tree Transactions Performance Details Event Log Actions Storage
Demo – Salesforce Lightning Inspector
Apex – getPopulatedFieldsAsMapAccount a = getAccount();
Map<String, Object> fieldsToValue =
a.getPopulatedFieldsAsMap();
String name = (String) fieldsToValue.get(‘Name’);
Map only contains fields that– Were queried by a SOQL statement– Explicitly set before the call to the
method
Sandboxes
Clone Sandboxes (Pilot)– Bonus: Can also be done through the
Tooling API Developer Sandboxes Increased
– PE: 10– EE: 25– UE: 100
Community Changes
Enable Locker Service for Communities– Separate from general Locker Service – Will be enabled in Winter 17– Inline HEAD scripts not supported
Direct Login for Internal Users– Global header had to be used…but not
available in LEX – Set Allow internal users to login directly
from Community Login & Registration page
Community Changes
Guest User Case Creation – Support API– Create Case Quick Actions disabled for
Guest User– Provide Support API Access for each
Community– Force.com Sites Page -> Enable Guest
Access to Support API -> Select Quick Actions
Customer Community Users Case Attachments– Logged in users could create case (quick
action), but no Attachment– Need to provide Write Access in Sharing
Set
Community Changes
Community Builder – Profile Page Visibility– No Longer one size fits all! Assign
different pages based on user profiles– Set up in Page Manager (new &
enhanced) -> Page Variations -> Manage Visibility
Lightning Design Tokens Branding– Each Branding Editor property maps to – a token– Standard Community Tokens
Wave Updates
Wave Packaging – Deploy with change sets– ISVs can package too
Flex Dashboard Designer (Beta)– Build Grid based, responsive dashboards– Enable Flex Dashboard Designer (Beta)
from Wave Analytics. More details Export to Excel, CSV, Image
– Download Wave Analytics permission
Wave Updates
New SAQL functions– String manipulation like trim, upper,
substr (useful for cogrouping)– Aggregates (percentile, stdv, var) and
Windowing New Charts
– Funnel and Choropleth (??? what – maps)– Use GeoJSON for your own boundaries
(pilot)
Demo – Wave
Lightning Enhancements
Contacts to Multiple Accounts– Primary account is direct relationship
(existing)– Indirect on Account records shown in
related list Customize Home for separate profiles
– Create pages, set default home, assign per profile
Show All Related Lists & More Highlight Fields– Before only the first 8 list would show
records– Now highlights shows 7 fields
Lightning App Builder
Create & Edit Pages– Edit a record page right from an object
Add App Pages– Update pages from SF1 or build new
Assign Filters on Report Chart Components– Set a filter when displays on record pages
Embed Wave Dashboards in Lightning– Extend interactive analytics
Demo – Lightning App Builder
More Resources
Summer ‘16 Release notes– http://sforce.co/1SyKeae
Lightning Components Developer Guide– http://sforce.co/1qFXr1b