Activity › Forums › Salesforce® Discussions › How to get Current Record ID in Lightning Component's Apex Controller ? Salesforce® Discussions How to get Current Record ID in Lightning Component's Apex Controller ? Posted by Kirandeep on February 11, 2020 at 2:44 PM How to get Current Record ID in Lightning Component’s Apex Controller ? Programming replied 5 years, 2 months ago 2 Members · 1 Reply 1 Reply Programming Member March 5, 2021 at 5:27 PM By JavaScript you can get recordID in this way : component.get(“v.recordId”); and then simply send the value to your apex class by following these steps : action.setParams({ parentId: component.get(“v.recordId”), }); Hope this help you? Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me