Newer Version Available

This content describes an older version of this product. View Latest

$CurrentPage

A global merge field type to use when referencing the current Visualforce page or page request.

Usage

Use this global variable in a Visualforce page to reference the current page name ($CurrentPage.Name) or the URL of the current page ($CurrentPage.URL). Use $CurrentPage.parameters.parameterName to reference page-request parameters and values, where parameterName is the request parameter being referenced. parameterName isn't case-sensitive.

Example