The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.


Gets the current page reference from the router container. This wire is also available in Lightning Experience.


  • A PageReference object containing a reference to the current page.