+ Start a Discussion
Srinu@dreamsSrinu@dreams 

How many ways we can call Apex Classes?

Best Answer chosen by Admin (Salesforce Developers) 
HariDineshHariDinesh

Hi,

 

We can call apex class in below mentioned ways

 

  • From another class
  • From Trigger
  • From Visualforce page
  • From Developer console
  • Form JavaScript button, Links
  • From Home page components

 

 

All Answers

HariDineshHariDinesh

Hi,

 

We can call apex class in below mentioned ways

 

  • From another class
  • From Trigger
  • From Visualforce page
  • From Developer console
  • Form JavaScript button, Links
  • From Home page components

 

 

This was selected as the best answer
Teach_me_howTeach_me_how

From Scheduler

nagamalli tadikondanagamalli tadikonda
cloud you please explain with one example ?(How many ways we can call Apex Classes?)
md saif ansarimd saif ansari
Four ways to call the Apex class.
Visual page.
Web service.
Triggers.
Email services