2022

Salesforce

Viewing a Record using Lightning Data Service force:recordData

Component: <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" >     <aura:attribute name="record" type="Object" description="The record object" />     <aura:attribute name="recordError" type="String" description="An error message bound to force:recordData" />     <lightning:card>         <force:recordData aura:id="recordLoader"                           ....