Newer Version Available

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

StandardAction

Represents the buttons, links, and actions (standard actions) for a standard or custom object. This object is available in API version 34.0 and later.

You can view the standard actions from an object’s management settings by going to Buttons, Links, and Actions.

Supported SOAP Calls

query()

Supported REST HTTP Methods

GET

Fields

Field Details
ContentType
Type
string
Properties
Filter, Group, Restricted picklist, Sort
Description
Indicates whether the button or link is standard, URL, s-control, JavaScript action, or Visualforce page. This value maps to the Content Source field in the user interface.
Description
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Text displayed to an administrator in the standard action setup page. Description can be different from the Label, which is the label displayed in the user interface to end users. It can also be different from Name, which is a unique string used in merge fields.
DurableId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Unique identifier for the field. Always retrieve this value before using it, as the value isn’t guaranteed to stay the same from one release to the next. DurableId in queries allows you to find the right record without having to retrieve the entire record.
EntityDefinition
Type
EntityDefinition
Properties
Filter, Group, Nillable, Sort
Description
The entity definition of the standard or custom object for which these standard actions are defined.
For example, to find all the standard actions for Account, use a query similar to the following:
EntityDefinitionId
Type
string
Properties
Filter, Group, Sort
Description
The ID of the standard or custom object for which this standard action is defined.
IsOverridden
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether this standard action has been overridden (true, or not.
Label
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The text that displays in a user interface for the standard action.
ManageableState
Type
ManageableState enumerated list
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Indicates the manageable state of the specified component that is contained in a package:
  • beta
  • deleted
  • deprecated
  • installed
  • released
  • unmanaged

For more information about states of manageability for components in Force.com AppExchange packages, see “Planning the Release of Managed Packages” in the Salesforce online help.

Name
Type
string
Properties
Filter, Group,Sort
Description
The unique name for the button or link when referenced from a merge field. This name can contain only underscores and alphanumeric characters, and must be unique in your organization. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
OverrideContent
Type
tns:Name
Properties
Filter, Group,Sort
Description
Reference to the actions that override standard actions for an object.
To retrieve information, use this field with the fields in Name, because you can’t query the field directly.
For example, assume that you have overridden a standard action for Account. The following query returns the label of the standard action, and the name and ID of the action that overrides the standard action.
Because OverrideContent is a Name object, you have access to all the fields in Name, in this case Name.Name and Name.Id.
OverrideContentId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
ID of an OverrideContent record. Returns the same value as OverrideContent.Id in the sample SOQL query for OverrideContent.