Accessing Salesforce Data With Apex Controllers and Lightning Data Service
Using Base Lightning Components to Access Salesforce Data Without Apex Controllers
There are a number of base Lightning components that enable you to view and edit Salesforce data without the need for custom components that reference an Apex controller.
Peter Knolle has built and shared a sample Lightning component that demonstrates using lightning:recordEditForm
and lightning:inputField
in conjunction with force:recordData
to accesses Salesforce data declaratively without using a single line of Apex code
What you will learn from this post is that as the Lightning Component Framework continues to mature, many items that once required custom Lightning and Apex code are being replaced by out-of-the-box components that can perform the same operations in a low-code / no-code manner.
- Source: Peter Knolle
- Author: Peter Knolle
- Date: 17-Jan-2018
- Category: Accessing Salesforce Data With Apex Controllers & Lightning Data Service
Deep Dive Into Lightning Component Storable Actions and Custom Cache
- Source: Salesforce Developers Blog
- Author: Christophe Coenraets
- Date: 31-Mar-17
- Category: Accessing Salesforce Data With Apex Controllers
Understanding the Basics of Client-Side Lightning Component JavaScript Controllers and Server-Side Apex Controllers
- Source: Salesforce Developers Blog
- Author: Peter Knolle
- Date: 6-Mar-2015
- Category: Accessing Salesforce Data With Apex Controllers
Deep Dive Into Using Apex Controllers to Call REST APIs on Behalf of Lightning Components
- Source: Peter Knolle
- Author: Peter Knolle
- Date: 4-Dec-2014
- Category: Accessing Salesforce Data With Apex Controllers
Patterns for Working With Salesforce Data in Lightning Components
- Source: Paul Battisson
- Author: Paul Battisson
- Date: 05-Oct-2016
- Category: Accessing Salesforce Data With Apex Controllers
Design Pattern and Library for Emulating Standard Controller Functionality in Lightning Components
- Source: Paul Battisson
- Author: Paul Battisson
- Date: 21-Aug-2016
- Category: Accessing Salesforce Data With Apex Controllers
Deep Dive Into Calling Apex Controller Methods from Lightning Components
- Source: Forcebase
- Author: Akhil Anil
- Date: 12-Dec-16
- Category: Accessing Salesforce Data With Apex Controllers
Exploring Use Cases and Applications for Lightning Data Service
- Source: Jitendra Zaa
- Author: Jitendra Zaa
- Date: 22-Jul-17
- Category: Accessing Salesforce Data With Apex Controllers
Design Pattern for Polling an Apex Controller from a Lightning Component at Specified Intervals
- Source: Jitendra Zaa
- Author: Jitendra Zaa
- Date: 10-Nov-16
- Category: Accessing Salesforce Data With Apex Controllers
Pattern for Using Apex to Handle Calls to Salesforce APIs from Lightning Components
- Source: Eltoro.it
- Author: Andres Perez
- Date: 3-Mar-17
- Category: Accessing Salesforce Data With Apex Controllers
Pattern for Applying Object, Record and Field Level Security to Salesforce Data Used in Lighting Components
- Source: Eltoro.it
- Author: Andres Perez
- Date: 1-May-16
- Category: Accessing Salesforce Data With Apex Controllers
Pattern and Accompanying Library for Abstracting Logic to Manage Calls From Lightning Components to Apex Controllers
- Source: Eltoro.it
- Author: Andres Perez
- Date: 9-Apr-17
- Category: Accessing Salesforce Data With Apex Controllers
Deep Dive Into Using the Analytics API to Display Salesforce Report Data in Lightning Components
- Source: Salesforce Developers Blog
- Author: Daniel Peter
- Date: 6-Mar-2015
- Category: Accessing Salesforce Data With Apex Controllers
Managing Server Side Errors in Lightning Component Actions Using Apex Controller Exception Handling
- Source: Balkishan Kachawa
- Author: Balkishan Kachawa
- Date: 19-Jan-2016
- Category: Accessing Salesforce Data With Apex Controllers
Exploring the Use of Apex Wrapper Classes for Providing Data to Lightning Components
- Source: Balkishan Kachawa
- Author: Balkishan Kachawa
- Date: 31-May-2015
- Category: Accessing Salesforce Data With Apex Controllers
Deep Dive Into Using Custom Apex Data Types in Lightning Components
- Source: Bob Buzzard Blog
- Author: Keir Bowden
- Date: 26-Jul-15
- Category: Accessing Salesforce Data With Apex Controllers
Pattern For Creating a Wrapper Class with sObject and Boolean Attributes To Display Salesforce Record Data With Checkboxes
- Source: Bob Buzzard Blog
- Author: Keir Bowden
- Date: 12-Dec-15
- Category: Accessing Salesforce Data With Apex Controllers
Deep Dive Into Displaying Data From Nested Parent-Child SOQL Relationship Queries in Lighting Components
- Source: SFDC Monkey
- Author: Piyush Soni
- Date: 21-Nov-16
- Category: Accessing Salesforce Data With Apex Controllers
Deep Dive Into Using Apex Controllers to Send and Retrieve Data for Lightning Components Using HTTP Callouts
- Source: SFDC Monkey
- Author: Piyush Soni
- Date: 2-Jan-17
- Category: Accessing Salesforce Data With Apex Controllers
Overview of Using Lightning Data Service to Retrieve Data for Lightning Components Without Apex Controllers
- Source: SFDC Monkey
- Author: Brahmaji Tammana
- Date: 31-Jul-17
- Category: Accessing Salesforce Data With Apex Controllers
Deep Dive Into Using Custom Apex Data Types and Inner Classes in Lightning Components
- Source: SFDC Monkey
- Author: Piyush Soni
- Date: 6-Jul-17
- Category: Accessing Salesforce Data With Apex Controllers