Force Recorddata Example Relationship Fields

Salesforce

What is force recorddata please explain it whit example?

1
Answers

Replies

A force: recorddata component is responsible for determining the parameters as altering, accessing or building a record utilizing the lightning data service. You will need to define the record ID, and the attributes of the components, a record of fields within the system component to store the record. Below is an examples which shows the same.



LEFT([Case].OwnerId) <> '00G'



var child = cmp.get("v.child"); 


console.log(child.parent__c); 


console.log(child.parent__r.nid); 


console.log(child.parent__r.address); 


console.log(child.parent__r.foo__c);

 
 

If you want to unleash your potential in this competitive field, please visit the Salesforce course page for more information, where you can find the Salesforce tutorials and Salesforce frequently asked interview questions and answers as well.

 

This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.
Protected by Astra Security