Activity Forums Salesforce® Discussions What is the use of Page reference in the Salesforce Visualforce Page?

  • Anuj

    Member
    January 29, 2020 at 2:44 pm

    Hi Pooja,

    PageReference  is a predefined class in Apex in which we pass the URL or Id of the page which we want to redirect on Click of Button.

  • Aditya

    Member
    January 29, 2020 at 2:46 pm

    Pagereference return a reference page refers to a Visualforce page with parameter in query String

  • kishan

    Member
    April 6, 2021 at 11:46 am

    Use a PageReference object: To view or set query string parameters and values for a page. To navigate the user to a different page as the result of an action method.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos