Salesforce Lightning Data Service

13
Lightning Data Services Boston Developer Group Meet

Transcript of Salesforce Lightning Data Service

Lightning Data Services

Boston Developer Group Meet

#TDX17

Speaker

Jitendra Zaa

Technical Architect & MVP@JitendraZaa

http://JitendraZaa.com/blog

Agenda

• Custom Component Considerations

• What is Lightning Data Service

• CODE

• Q&A

Custom Component Considerations

Custom Component Considerations

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

Lets Code

Usage

Roadmap

• GA <force:recordData> Winter 18

• Bulk Support

• Object Metadata support

• Server Trigger updates