# $Action

A global merge field type to use when referencing standard Salesforce actions, such as displaying the Accounts tab home page, creating 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:

```visualforce
<apex:outputLink value="{!URLFOR($Action.Account.New)}">
    Create New Account
</apex:outputLink>
```

The following markup adds a link to download an attachment:

```visualforce
<apex:page standardController="Attachment">
    <apex:outputLink 
      value="{!URLFOR($Action.Attachment.Download,
                      attachment.id)}">
      Download Now!
    </apex:outputLink>
</apex:page>
```

- **[Valid Values for the $Action Global Variable](/docs/platform/salesforce-pages-developers-guide/guide/pages-variables-global-action-valid-values.md)**

  The $Action global variable contains a list of actions and objects on which the actions can be performed.

**See Also**

- [Dynamic References to Action Methods Using $Action](/docs/platform/salesforce-pages-developers-guide/guide/pages-dynamic-vf-globals-action.md)
