3. 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
9. Apex – getPopulatedFieldsAsMap
Account 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
10. Sandboxes
Clone Sandboxes (Pilot)
– Bonus: Can also be done through the Tooling
API
Developer Sandboxes Increased
– PE: 10
– EE: 25
– UE: 100
11. 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
12. 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
13. 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
14. 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
15. 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)
17. 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
18. 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
Show critical update page
Show code in component that has the problem
Show error that is received
Change code
Reload page – may not refresh automatically
Show normal run
Show custom config file
Show run with config file
Show run with --quiet
Show context menu
New charts
Flex db
Will embed in next step (property)