You are here:
Valid Values for the $Action Global Variable
All objects support basic actions, such as new, clone, view, edit, list, and delete. The $Action global also references actions available on many standard objects. The values available in your organization may differ depending on the features you enable.
Required Editions
| Available in: Salesforce Classic |
| $Action global variable available in: All Editions |
| User Permissions Needed | |
|---|---|
| To create, edit, and delete custom s-controls, formulas, or Visualforce pages: | Customize Application |
The following table lists the actions you can reference with the $Action global variable and the objects on which you can perform those actions.
| Value | Description | Objects |
| Accept | Accept a record. |
|
| Activate | Activate a contract. | Contract |
| Add | Add a product to a price book. | Product2 |
| AddCampaign | Add a member to a campaign. | Campaign |
| AddInfluence | Add a campaign to an opportunity's list of influential campaigns. | Opportunity |
| AddProduct | Add a product to price book. | OpportunityLineItem |
| AddToCampaign | Add a contact or lead to a campaign. |
|
| AddToOutlook | Add an event to Microsoft Outlook. | Event |
| AdvancedSetup | Launch campaign advanced setup. | Campaign |
| AltavistaNews | Launch www.altavista.com/news/. |
|
| Cancel | Cancel an event. | Event |
| CaseSelect | Specify a case for a solution. | Solution |
| ChangeOwner | Change the owner of a record. |
|
| ChangeStatus | Change the status of a case. |
|
| ChoosePricebook | Choose the price book to use. | OpportunityLineItem |
| Clone | Clone a record. |
|
| CloneAsChild | Create a related case with the details of a parent case. | Case |
| CloseCase | Close a case. | Case |
| Convert | Create a new account, contact, and opportunity using the information from a lead. | Lead |
| ConvertLead | Convert a lead to a campaign member. | Campaign Member |
| Create_Opportunity | Create an opportunity based on a campaign member. | Campaign Member |
| Decline | Decline an event. | Event |
| Delete | Delete a record. |
|
| DeleteSeries | Delete a series of events or tasks. |
|
| DisableCustomerPortal | Disable a Customer Portal user. | Contact |
| DisableCustomerPortalAccount | Disable a Customer Portal account. | Account |
| DisablePartnerPortal | Disable a Partner Portal user. | Contact |
| DisablePartnerPortalAccount | Disable a Partner Portal account. | Account |
| Download | Download an attachment. |
|
| Edit | Edit a record. |
|
| EditAllProduct | Edit all products in a price book. | OpportunityLineItem |
| EnableAsPartner | Designate an account as a partner account. | Account |
| EnablePartnerPortalUser | Enable a contact as a Partner Portal user. | Contact |
| EnableSelfService | Enable a contact as a Self-Service user. | Contact |
| FindDup | Display duplicate leads. | Lead |
| FollowupEvent | Create a follow-up event. | Event |
| FollowupTask | Create a follow-up task. | Event |
| HooversProfile | Display a Hoovers profile. |
|
| IncludeOffline | Include an account record in Connect Offline. | Account |
| GoogleMaps | Plot an address on Google Maps. |
|
| GoogleNews | Display www.google.com/news. |
|
| GoogleSearch | Display www.google.com. |
|
| List | List records of an object. |
|
| LogCall | Log a call. | Activity |
| MailMerge | Generate a mail merge. | Activity |
| ManageMembers | Launch the Manage Members page. | Campaign |
| MassClose | Close multiple cases. | Case |
| Merge | Merge contacts. | Contact |
| New | Create a new record. |
|
| NewTask | Create a task. | Task |
| RequestUpdate | Request an update. |
|
| SelfServSelect | Register a user as a Self Service user. | Solution |
| SendEmail | Send an email. | Activity |
| SendGmail | Open a blank email in Gmail. |
|
| Sort | Sort products in a price book. | OpportunityLineItem |
| Share | Share a record. |
|
| Submit for Approval | Submit a record for approval. |
|
| Tab | Access the tab for an object. |
|
| View | View a record. |
|
| ViewAllCampaignMembers | List all campaign members. | Campaign |
| ViewCampaignInfluenceReport | Display the Campaigns with Influenced Opportunities report. | Campaign |
| ViewPartnerPortalUser | List all Partner Portal users. | Contact |
| ViewSelfService | List all Self-Service users. | Contact |
| YahooMaps | Plot an address on Yahoo! Maps. |
|
| YahooWeather | Display http://weather.yahoo.com/. | Contact |
See Also
Did this article solve your issue?
Let us know so we can improve!

