Blogs
force:hasRecordId
The purpose of force:hasRecordId is to allow an Aura component to receive the current Salesforce record’s Id automatically when the component is placed on a record page.
The purpose of force:hasRecordId is to allow an Aura component to receive the current Salesforce record’s Id automatically when the component is placed on a record page.