---
schema_version: "1"
id: 58553854d0b62ecf957b5b57aae338d17843960c7b794e70324e7091fa9f98dc
title: Adding a Custom Action to a Card (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_adding_a_custom_action_to_a_card.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_adding_a_custom_action_to_a_card.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 48d0c4b335f436f7b8706499d05c11ff8672a660a175ba695b2ddc073defe59c
description: For the managed package runtime, add actions directly on a card with Custom Actions. Custom Actions perform faster than standard Vlocity Actions but have fewer configuration options.
products:
  - Omnistudio
release: "264"
---
# Adding a Custom Action to a Card (Managed Package)

For the managed package runtime, add actions directly on a card with Custom Actions. Custom Actions perform faster than standard Vlocity Actions but have fewer configuration options.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

For reusable actions with additional configuration options, see [Vlocity Actions (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_vlocity_actions.htm&release=264.0.0&type=5 "For the managed package runtime, Vlocity Actions are automatically generated URLS that launch Vlocity Omniscripts, Vlocity Cards components, web pages, or external applications. Actions are typically specific to a given object type, such as Account, Contact, Policy, or Asset.").

Beginning with the Summer '19 release, Vlocity supports Salesforce's Lightning Web Components programming model with Vlocity Lightning Web Components. Vlocity Lightning Web Components include components, functionalities, and templates exclusive to LWC Cards. See [LWC Cards Considerations (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_lwc_cards_considerations.htm&release=264.0.0&type=5 "For the managed package runtime, beginning with the Vlocity Insurance and Health Summer '19 and Vlocity Communications, Media, and Energy Fall '19 releases, Vlocity supports the Salesforce Lightning Web Component programming model.") and [Configure Smart Actions on an LWC Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_configuring_smart_actions_on_an_lwc_card.htm&release=264.0.0&type=5 "For the managed package runtime, beginning with the Vlocity Insurance and Health Summer '19 and Vlocity Communications, Media, and Energy Fall '19 releases, Vlocity supports the Salesforce Lightning Web Component programming model.").

1. Open a card from the Vlocity Cards tab and click **Add Custom Action** in the card state.
    
    ![image](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/cards_custom_action.png)
2. In the **Id** field, to distinguish the action from other actions in the card designer, enter a unique name. For example, ActiveAccountUpdate.
3. In the **Display Name** field, enter the name to display to the user. For example, **Update Account**.
4. In the **URL** field, enter the URL to which the action links. See [Target URL and URL Parameters (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_target_url_and_url_parameters.htm&release=264.0.0&type=5 "For the managed package runtime, to launch Vlocity Omniscripts, Vlocity Cards components, web pages, or external applications from a Vlocity Action, enter an Apex page, or a URL with parameters as the Target URL. LWC components, such as LWC Omniscripts, LWC Cards, and Flexcards, are not URL addressable and so can't be accessed directly from a URL and must embedded on a page.").
5. (Optional) Enter values for these properties:
    
    - **Vlocity Icon**: Select a Vlocity icon or an [SLDS icon](https://www.lightningdesignsystem.com/icons/) to display next to the action link. For a complete list of Vlocity Icons, go to the Vlocity Actions tab, open any action, and click the **Vlocity Icons** header label to reveal the list of icons.
    - **Open URL in**: Select **Current Window** or **New Tab/Window** to indicate where to open the URL.
    - Check the **Actions Options** checkbox to add **Custom Parameters**, **Conditions**, and to invoke an Apex class. See [Configuring Action Options (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_configuring_action_options.htm&release=264.0.0&type=5 "For the managed package runtime, configure additional options for Vlocity Actions, Omniscript Actions, and Custom Actions on a card state by enabling the Action Options feature.").