Apex Reference Guide
No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
ConnectApi.PlatformAction
Property Name | Type | Description | Available Version |
---|---|---|---|
actionUrl | String | For action links of subtype
Ui or Download, direct the user to download or visit the UI from this link.
Salesforce issues a Javascript redirect for the link in this format: /action-link-redirect/communityId/actionLinkId?_bearer=bearerToken. For Api action links and for all platform actions, this value is null and Salesforce handles the call. |
33.0 |
apiName | String | The API name. The value may be null. | 33.0 |
confirmationMessage | String | If this action requires a confirmation and has a status of NewStatus, this is a default localized message that should be shown to an end user prior to invoking the action. Otherwise, this is null. | 33.0 |
executingUser | ConnectApi.UserSummary | The user who initiated execution of this platform action. | 33.0 |
groupDefault | Boolean | true if this platform action is the default or primary platform action in the platform action group; false otherwise. There can be only one default platform action per platform action group. | 33.0 |
iconUrl | String | The URL of the icon for the platform action. This value may be null. | 33.0 |
id | String |
The ID for the platform action. If the type is QuickAction and the subtype is Create, this value is null. |
33.0 |
label | String | The localized label for this platform action. | 33.0 |
modifiedDate | Datetime | ISO 8601 format date string, for example, 2011-02-25T18:24:31.000Z. | 33.0 |
platformActionGroup | ConnectApi.Reference | A reference to the platform action group containing this platform action. | 33.0 |
status | ConnectApi.PlatformActionStatus | The execution status of the platform action. Values are:
|
33.0 |
subtype | String | The subtype of a platform action or null. If the type property is ActionLink, possible values are:
Invoking ApiAsync action links from an app requires a call to set the status. However, there isn’t currently a way to set the status of an action link using Apex. To set the status, use Connect REST API. See the Action Link resource in the Connect REST API Developer Guidefor more information. Note |
33.0 |
type | ConnectApi.PlatformActionType | The type of platform action. Values are:
|
33.0 |
url | String |
The URL for this platform action. If the type is QuickAction and the subtype is Create, this value is null. |
33.0 |