ConnectApi.ActionLinkGroupDefinitionInput
Action link definition can be sensitive to a third party (for example, OAuth bearer token headers). For this reason, only calls made from the Apex namespace that created the action link definition can read, modify, or delete the definition. In addition, the user making the call must have created the definition or have View All Data permission.
Property | Type | Description | Required or Optional | Available Version |
---|---|---|---|---|
actionLinks | List<ConnectApi.ActionLinkDefinitionInput> | The action links that make up this group. Within an action link group, action links are displayed in the order listed in the actionLinks property of the ConnectApi.ActionLinkGroupDefinitionInput class. Within a feed item, action link groups are displayed in the order specified in the actionLinkGroupIds property of the ConnectApi.AssociatedActionsCapabilityInput class. You can create up to three action links in a Primary group and up to four in an Overflow group. |
Required to instantiate this action link group without a template. To instantiate from a template, don’t specify a value. |
33.0 |
category | ConnectApi.PlatformActionGroupCategory | Indicates the priority and relative locations of action links in an associated
feed item. Values are:
|
Required to instantiate this action link group without a template. To instantiate from a template, don’t specify a value. |
33.0 |
executionsAllowed | ConnectApi.ActionLinkExecutionsAllowed | Defines the number of times an action link can be executed. Values are:
|
Required to instantiate this action link group without a template. To instantiate from a template, don’t specify a value. |
33.0 |
expirationDate | Datetime | ISO 8601 date string, for example,
2011-02-25T18:24:31.000Z, that represents the date and time this action link group
is removed from associated feed items and can no longer be executed. The expirationDate must be within one year of the
creation date. If the action link group definition includes an OAuth token, it is a good idea to set the expiration date of the action link group to the same value as the expiration date of the OAuth token so that users can’t execute the action link and get an OAuth error. To set a date when instantiating from a template, see Set the Action Link Group Expiration Time in Design Action Link Templates. |
Required to instantiate this action link group without a template. Optional to instantiate from a template. |
33.0 |
templateBindings | List<ConnectApi.ActionLinkTemplateBindingInput> | A collection of key-value pairs to fill in binding variable values or a custom user alias from an action link template. To instantiate this action link group from an action link template that uses binding variables, you must provide values for all the variables. See Define Binding Variables in Design Action Link Templates. | To instantiate without a template, don’t specify a value. Required to instantiate this action link group from a template that uses binding variables. |
33.0 |
templateId | String | The ID of the action link group template from which to instantiate this action link group. | To instantiate without a template, don’t specify a value. Required to instantiate this action link group from a template. |
33.0 |