Reference to a page in Visualforce
- johnsontitus
- May 15, 2020
- 1 min read
//refererence to google page
PageReference pageRef = new PageReference('http://www.google.com');
//reference to the saved Visualforce page
Page.existingPageName;
//reference to the current page
PageReference pageRef = ApexPages.currentPage();

Comments