Aura Beginner to Advance

force:hasRecordId

Nirav Asodariya 12/01/2026   Aura

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.