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

  • What is the use of Page reference in the Salesforce Visualforce Page?

  • Pooja

    Member
    January 29, 2020 at 2:35 pm

    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.

Viewing 1 - 4 of 4 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos