Activity Forums Salesforce® Discussions How to get Current Record ID in Lightning Component's Apex Controller ?

  • Programming

    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 :
    parentId: component.get("v.recordId"),
    Hope this help you😉
    Please follow below channel for more salesforce facts :

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos