Activity › Forums › Salesforce® Discussions › How to call apex method with parameter in the lightning web component? Salesforce® Discussions How to call apex method with parameter in the lightning web component? Posted by Shweta on December 14, 2020 at 7:02 PM How to call apex method with parameter in the lightning web component? Aditya replied 5 years, 5 months ago 2 Members · 1 Reply 1 Reply Aditya Member December 15, 2020 at 7:41 AM First, import the Apex method into the JS. If it is wired, make sure cacheable=true decorator is set. Parameters are passed as an object. For simple results: wire to a property. For some processing: wire to a function. For controlling when to call: imperative Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me