Newer Version Available

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

$Page

A global merge field type to use when referencing a Visualforce page.

Usage

Use this expression in a Visualforce page to link to another Visualforce page.

Example

1<apex:page>
2  <h1>Linked</h1>
3  <apex:outputLink value="{!$Page.otherPage}">
4    This is a link to another page.
5  </apex:outputLink>
6</apex:page>