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.

0 Shares