Activity › Forums › Salesforce® Discussions › How do I call apex method in the Lightning web component? Salesforce® Discussions How do I call apex method in the Lightning web component? Posted by Shweta on December 9, 2020 at 4:25 PM How do I call apex method in the Lightning web component? Anjali replied 5 years, 5 months ago 2 Members · 1 Reply 1 Reply 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. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me