Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Platform Action
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| actionListContext | String | The context of the action. One of these values:
|
Small, 41.0 | 41.0 |
| actionTarget | String | The URL to invoke or describe the action when the action is invoked. Applies only to quick actions. | Big, 41.0 | 41.0 |
| actionTargetType | String | The type of the target when this action is invoked. One of these values:
|
Big, 41.0 | 41.0 |
| apiName | String | The API name of the action. In API version 46.0 and later, for global actions the prefix Global. is prepended to the API name. |
Small, 41.0 | 41.0 |
| externalId | String | External information associated with the action.1 | Medium, 41.0 | 41.0 |
| iconUrl | String | The URL of the action’s icon image. | Small, 41.0 | 41.0 |
| id | String | The ID of this platform action record, which is the 18-character PlatformAction SObject ID, with a prefix of 0JV. | Small, 41.0 | 41.0 |
| isMassAction | String | Indicates whether the action can be performed on multiple records. | Small, 41.0 | 41.0 |
| label | String | The label to display for this action. | Small, 41.0 | 41.0 |
| lwcComponent | String | The Lightning web component associated with this action. | Small, 56.0 | 56.0 |
| pageDeveloperName | String | For flexipage-backed quick actions, the developer name of the FlexiPage, resolved server-side from QuickActionDefinition.ComponentId. | Small, 68.0 | 68.0 |
| primaryColor | String | The primary color of the icon for this action, in Hex color code. For example, 7F8DE1. | Small, 41.0 | 41.0 |
| relatedListRecordId | String | When the actionListContext property is RelatedListRecord, this field represents the ID of the record in an object's related list. | Small, 41.0 | 41.0 |
| relatedSourceObject | String | When the actionListContext property is RelatedList or RelatedListRecord, this field represents the API name of the related list to which the action belongs. | Small, 41.0 | 41.0 |
| section | String | The section of the user interface the action resides in. One of these values:
|
Medium, 41.0 | 41.0 |
| sourceObject | String | The object that this action is associated with. Either an API name or record ID, depending on the resource. | Small, 41.0 | 41.0 |
| subtype | String | The subtype of the action. For quick actions, one of these values:
|
Medium, 41.0 | 41.0 |
| targetObject | String | The target object that is created when the action is invoked. | Small, 41.0 | 41.0 |
| targetParentField | String | The lookup field on the target object that points to the target parent record. | Small, 68.0 | 68.0 |
| targetRecordTypeId | String | For flexipage-backed quick actions, the target record type ID from the QuickActionDefinition. | Small, 68.0 | 68.0 |
| targetUrl | String | The target URL for custom button actions. | Small, 41.0 | 41.0 |
| type | String | The type of the action. One of these values:
|
Small, 41.0 | 41.0 |
1The format for a quick action
is:
For
example:
The format for a standard action is:
1OrgId:SourceObject::Context:deviceFormat::QuickActionDefinitionId100Dxx0000001gGh:x01xx0000000007AAA::Record:Phone:09Dxx00000000B61OrgId:SourceObject::Context:deviceFormat::StandardButton:ApiName