Salesforce Interview Questions and Answers
Question: Explain the purpose of the 'force:hasRecordId' interface in Lightning components.Answer: The 'force:hasRecordId' interface in Lightning components is used to enable the component to receive the record ID of the current record. It allows components to dynamically interact with the record being viewed or edited. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: