Activity › Forums › Salesforce® Discussions › What are the ways to call an apex class in Salesforce? Salesforce® Discussions What are the ways to call an apex class in Salesforce? Posted by Pooja on April 27, 2020 at 2:29 PM What are the ways to call an apex class in Salesforce? Udit replied 6 years, 1 month ago 2 Members · 1 Reply 1 Reply Udit Member April 27, 2020 at 2:53 PM Hey Pooja, We can call an apex class in the following ways: 1. Developer console 2. VisualForce 3. Trigger 4. Calling from another class 5. JavaScript buttons/ links Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me