function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PatMcClellan__cPatMcClellan__c 

Lightning Data Service force:recordData

I know LDS only connects to one record at a time, but is that per component?
I want to use LDS on custom (parent) component ConversationDisplay to access a conversation__c record, and use LDS to create a new Message__c record from my (child) MessageEntry component that is included in Conversation Display. Possible?
Best Answer chosen by PatMcClellan__c
PatMcClellan__cPatMcClellan__c
Closing out this question: you are limited to one record per instance of force:recordData, but you can have many of them on a component.

All Answers

PatMcClellan__cPatMcClellan__c
Closing out this question: you are limited to one record per instance of force:recordData, but you can have many of them on a component.
This was selected as the best answer
Balagopal GBalagopal G

Hi @ PatMcClellan__c

Kindly please help .

Will this LDS works other than Component Load or page Load.
For example : In a custom vf page, a Lightning App is loaded and then inside a component in  the same app, on a button click in that component , in modal (without component refresh or page load) CRUD operations are included.
Is it possible to use LDS in the above scenario or LDS will work only on Page Load?!.