Loading/ View records of Account using Lightning data service (force:recordData component)? [closed]

760    Asked by ClaudineTippins in Salesforce , Asked on Jul 24, 2021

I have been practicing the examples given in Lightning developes Guide and the topic is Display Record Data in a Custom User Interface Using force:recordData I copied and pasted the below code Loading a Record but no output is getting displayed.

<!-- Display a lightning card with details about the record -->

<!-- Display Lightning Data Service errors, if any -->
 {!v.recordError}
Answered by Claudine Tippins

You need to specify the fields to load or the layout mode. Add the following to force:record data: layoutType="FULL" Note: force:recordData component defines the parameters for accessing, modifying, or creating a record using Lightning Data Service.


Your Answer

Interviews

Parent Categories