Activity › Forums › Salesforce® Discussions › How to get current record id in lightning component in Salesforce? Salesforce® Discussions How to get current record id in lightning component in Salesforce? Posted by Pooja on July 17, 2020 at 5:28 PM How to get current record id in lightning component in Salesforce? Ratnesh replied 5 years, 10 months ago 2 Members · 1 Reply 1 Reply Ratnesh Member July 20, 2020 at 8:20 AM 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 Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me