StandardAction

Represents the buttons, links, and actions (standard actions) for a standard or custom object.

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

StandardAction fields are exposed in SOAP API version 45.0 and later. You can use Tooling API to query for StandardAction fields in guest user mode in API version 44.0 and earlier. In API version 45.0 and later, use SOAP API to get this data in guest user mode. StandardAction is still exposed in Tooling API to User Profiles with the ViewSetup permission.

Note

Version 

Introduced in API version 34.0.

Supported SOAP API Calls 

describeSObjects(), query()

Supported REST API Methods 

Query

Fields 

ContentType 

  • Type: picklist

  • Required: No

  • 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.

  • Possible values:

    • Default — No override (use default)

    • Standard — Standard page

    • Scontrol — Custom S-Control

    • Visualforce — Visualforce page

    • Flexipage — Lightning Page

    • LightningComponent — Lightning component

Description 

  • Type: string

  • Required: No

  • 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

  • Required: No

  • 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.

EntityDefinitionId 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Sort

  • Description: The ID of the standard or custom object for which this standard action is defined.

IsOverridden 

  • Type: boolean

  • Required: No

  • Properties: Defaulted on create, Filter, Group, Sort

  • Introduced: API version 35.0

  • Description: Indicates whether this standard action has been overridden (true, or not.

  • Default value: false

Label 

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The text that displays in a user interface for the standard action.

ManageableState 

  • Type: picklist

  • Required: No

  • Properties: Filter, Group, Restricted picklist, Sort

  • Description: Indicates the manageable state of the specified component that is contained in a package:

  • beta

  • deleted

  • deprecated

  • deprecatedEditable

  • installed

  • installedEditable

  • released

  • unmanaged

  • Possible values:

    • beta — beta

    • deleted — deleted

    • deprecated — deprecated

    • deprecatedEditable — deprecatedEditable

    • installed — installed

    • installedEditable — installedEditable

    • released — released

    • unmanaged — unmanaged

Name 

  • Type: string

  • Required: No

  • 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.

OverrideContentId 

  • Type: reference

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: ID of an OverrideContent record.

  • Relationship name: OverrideContent

  • Relationship type: polymorphic

  • Refers to: ApexPage, Scontrol

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!