No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
$Action
A global merge field type to use when
referencing standard Salesforce actions
such as displaying the Accounts tab home page, creating new
accounts, editing accounts, and deleting accounts.
Usage
Use dot notation to specify an object and an action, for example, $Action.Account.New
Example
The following markup adds a link
to create a new account:
The following markup adds a link
to download an attachment:
1<apex:outputLink value="{!URLFOR($Action.Account.New)}">
2 Create New Account
3</apex:outputLink>1<apex:page standardController="Attachment">
2 <apex:outputLink
3 value="{!URLFOR($Action.Attachment.Download,
4 attachment.id)}">
5 Download Now!
6 </apex:outputLink>
7</apex:page>