Activity Forums Salesforce® Discussions How do I call apex method in the Lightning web component?

  • Anjali

    Member
    December 10, 2020 at 1:21 pm

    To expose an Apex method to a Lightning web component, the method must be static and either global or public . Annotate the method with @AuraEnabled .

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos