Activity › Forums › Salesforce® Discussions › What is the use of Page reference in the Salesforce Visualforce Page? Tagged: Apex, Page Id, Page Reference, Query, Salesforce Visualforce, Visualforce Page Salesforce® Discussions What is the use of Page reference in the Salesforce Visualforce Page? Posted by Pooja on January 29, 2020 at 2:35 PM What is the use of Page reference in the Salesforce Visualforce Page? kishan replied 5 years, 1 month ago 4 Members · 3 Replies ApexPage IdPage ReferenceQuerySalesforce VisualforceVisualforce Page 3 Replies 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. [adinserter block='9'] 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. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me