Activity Forums Salesforce® Discussions Callback Function in Java Script Remoting in salesforce

  • Kumar

    Member
    January 16, 2017 at 10:04 am

    Hi Vikas,

    Remote Objects sends all requests to the Salesforce service asynchronously. Your code handles responses to Remote Objects operations in a callback function that you provide. Callback functions handle updating the page with the results of the operation and errors that are returned.

    When you invoke a Remote Objects operation, you provide the parameters of the operation and, optionally, a callback function. Your JavaScript code continues uninterrupted after you invoke the operation. When the remote operation is completed and results are returned, your callback function is invoked and receives the results of the operation.

    For an example and more information refer to the developer guide.

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos