---
schema_version: "1"
id: 34bbbdc54d49ec7dab0ad9572d938b7e814e944d064c41d694d8e58e9646049f
title: Adding a Placeholder to a Card State (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_placeholder_to_a_card_state.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_adding_a_placeholder_to_a_card_state.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b91bc88c590e52b62a6cca18131a89f329ddf7db73d9f568e6a324a629f15637
description: For the managed package runtime, add additional fields to a card state by adding placeholders created in the Template Designer.
products:
  - Omnistudio
release: "264"
---
# Adding a Placeholder to a Card State (Managed Package)

For the managed package runtime, add additional fields to a card state by adding placeholders created in the Template Designer.

![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).

To insert a placeholder into a card state:

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_important.png)

Important

Your card template must support placeholders. For a list of Vlocity base card state templates that support placeholders, see [Base UI and Card Templates (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_base_ui_and_card_templates.htm&release=264.0.0&type=5 "For the managed package runtime, the following tables list the base templates that are available for use with Vlocity Cards. When editing a template, it’s best practice to clone the existing template first and to edit the cloned version."). To create a custom card state template that supports placeholders, see [Creating a Placeholder (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_creating_a_placeholder.htm&release=264.0.0&type=5 "For the managed package runtime, create placeholders in the Template Designer to insert additional fields into card states in the Card Designer. For example, to add a unique title for escalated case cards, select the card-active-placeholders-slds card template, and enter Escalated for the value of the Title placeholder.").

1. Select a placeholder from the **Placeholders** dropdown, and click **Add**.
    
    ![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/placeholders_card_state_add.png)
2. Enter values for these fields:
    
    - **Value**: Enter the value of the placeholder.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
        
        Note
        
        By default, a list of data fields available from the card or card layout data source is visible when you click into this input field. However, any value is acceptable.
    - (Optional) **Placeholder type**: To update the field type, in the second input field, delete the default string, and choose from the available types in the picklist.
        
        ![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/card_state_placeholder_types.png)
    - (Optional) **Label**: If your template displays a label, enter a label for the placeholder. For example:
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
        
        Note
        
        By default, a list of data fields available from the card or card layout data source is visible when you click into this input field. However, any value is acceptable.
    
    For example, display an alert for high priority cases using a card state template that displays both the placeholder label and its value in the header of a card. Enter Priority as the label of the alert, and the context variable \['Priority'\] as the placeholder value.
    
    ![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/placeholders_card_state_enter_label_value.png) ![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/placeholders_card_state_label_value.png)