CrmActionLink | UI components (BETA)
The CrmActionLink
component renders a clickable link that can execute a built-in set of CRM actions.
This type of component is useful for enabling your extension to interact with other CRM entities, such as records and engagements. To learn more about how CRM action components work together, check out the CRM action components overview.
Prop | Type | Description |
---|---|---|
actionType Required |
String | The type of action to perform. See list of available actions for more information. |
actionContext Required |
Object | An object containing the CRM object and record context for performing the action. See list of available actions for required context values. |
variant |
'primary' (default)| 'light' | 'dark' | 'destructive' |
The color variation of the link. See the variants section for more information. |
onError |
(errors: string[]) => void | An optional callback that will pass any error messages that were generated. Common errors include missing required context values or the user not having sufficient permissions to perform an action. |
Thank you for your feedback, it means a lot to us.
This form is used for documentation feedback only. Learn how to get help with HubSpot.