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: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