• #29773
    Salesforce | Sanjana Sanjana #15
    Forcetalks

    In how many ways we can invoke the Salesforce Apex Class?

    In how many ways we can invoke the Salesforce Apex Class?

    Tagged: , , , , , , , ,

    #29782
     Anjali #6
    Forcetalks

    Ways to invoke apex class are

    • Call from Trigger
    • Call from another Apex class
    • Schedule a batch class
    •  Invoke from the Console
    • External WEB service call
    • Javascript using custom button
    #34098
    Salesforce | Parul Parul #2
    Forcetalks

    we can invoke the Salesforce Apex Class:

    1. Visual force page

    2. Web Service

    3. Triggers

    4. Email services

     

    Thanks.

    #34107
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

    Apex invoking refers to the process of executing the Apex class. Apex class can only be executed when it is invoked via one of the ways listed below −

    Triggers and Anonymous block
    A trigger invoked for specified events
    Asynchronous Apex
    Scheduling an Apex class to run at specified intervals, or running a batch job
    Web Services class
    Apex Email Service class
    Apex Web Services, which allow exposing your methods via SOAP and REST Web services
    Visualforce Controllers
    Apex Email Service to process inbound email
    Invoking Apex Using JavaScript
    The Ajax toolkit to invoke Web service methods implemented in Apex

    Hope this helps!

    #34142
    Forcetalks

    Hello,

    Few way to invoke salesforce class are-

    1. Using Visualforce Page
    2. Using Lightning Component
    3. Using External Call
    4. Using Console

    and many more.

    Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?