Date post: | 29-Jan-2018 |
Category: |
Internet |
Upload: | jitendra-zaa |
View: | 5,198 times |
Download: | 0 times |
Data Flow without Lightning Data Service
• Duplicate calls for the
same data
• Server side code for
basic data handling
• UI Inconsistencies
Introducing Lightning Data Service
Standard Controller for Lightning!
Benefits :
• No APEX
• No SOQL
• FLS and Sharing built-in
• Declarative CRUD Operations
• Share cache
• Auto notify on record changes
• Offline access for Salesforce 1
Data flow With Lightning Data Service
Custom Component
<force:recorddata>
Custom Component
<force:recorddata>
Custom Component
<force:recorddata>
Lig
htn
ing D
ata
Serv
ice
Lightning Data Service (Beta)
• Currently in Beta
• Enabled by default in all Orgs
• Custom objects supported completely
• Opportunity and Lead currently not supported
• Formatted field values not supported completely
Roadmap
• GA <force:recordData> Winter 18
• Bulk Support
• Object Metadata support
• Server Trigger updates