Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    marketplace-mod

    Remote Action function in Visualforce Page

    In this blog, we will learn Remote Action function in Visualforce Page. First of all, we should know, what is remote action function in salesforce. Let’s get started!

    What is Remote Action function in Salesforce?

    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.

    Points to remember while implementing remote action function:

    • Remote action method should have @RemoteAction annotation.
    • The method should also be Global and Static

    Implementation

    Let’s start with controller code:


    Now the Visualforce Page:

    Output

    Here is the output:

    Support

    That’s all for Remote Action function in Visualforce Page, still have any issue feel free to add a ticket and let us know your views to make the code better https://webkul.uvdesk.com/en/customer/create-ticket/

     

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close

    Table of Content

    Hide Index