How to get record id in salesforce lightning
Get Record Id in Lightning Component. Go to Account tab. Open any record. Click Setup (Gear Icon) and select Edit Page. Under Custom Components, find your CurrentrecordIdExample component and drag it on record page. Click Save and activate. The component’s controller can access the ID of the current record from the recordId attribute, using component. … Read more