• #31903
    Salesforce | Parul Parul #2
    Forcetalks

    Why we use remoteaction function in Salesforce?

    Why we use remoteaction function in Salesforce?

     

    #31904
    Forcetalks

    Hello Parul,
    Remote action function in salesforce allows user to access any method from any class through javasrcipt methods, and get the result as a javascript object for further manipulation.The RemoteAction annotation provides support for Apex methods used in Visualforce to be called via JavaScript. This process is often referred to as JavaScript remoting.

    Thanks.

    #34495
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

    JavaScript remoting in Visualforce provides support for some methods in Apex controllers to be called via JavaScript.

    JavaScript remoting has three parts:
    1. The remote method invocation you add to the Visualforce page, written in JavaScript.
    2. The remote method definition in your Apex controller class. This method definition is written in Apex, but there are few differences from normal action methods.
    3.The response handler callback function you add to or include in your Visualforce page, written in JavaScript.

    Hope this helps.

Viewing 3 posts - 1 through 3 (of 3 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 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?