function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ashish raiashish rai 

Difference between system.currentPagereferenceand Apexpages.currentpage()

Hi All,

        What is the basic difference between these two system.currentPagereference.getParameters().get() and Apexpages.currentpage().getparamethers().get()????????????

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

There is no difference - both System.currentPageReference() and ApexPages.currentPage() return a reference to the current page.