Loading
Salesforce now sends email only from verified domains. Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Adding a Vlocity Action to a Card (Managed Package)

          Adding a Vlocity Action to a Card (Managed Package)

          For the managed package runtime, add reusable actions to a card with Vlocity Actions to launch Vlocity Omniscripts, Vlocity Cards components, web pages, or external applications.

          Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

          1. You must first create a Vlocity Action to add to your card. See Vlocity Actions (Managed Package).
          2. In your org, click App Launcher, click Vlocity Cards, and select a card layout to open the Card Designer.
          3. In the Actions section of a card's state, click into the Salesforce Object Type input field, and select an sObject from the picklist, such as Contact.
            image
          4. Click into the Id Field for Actions, and select a ContextId from the available list of fields returned from the data source, such as ['ContactId'].

            If Blank Card State is enabled:

            • Click the Enable Id field for actions checkbox to display the Id Field for Actions input field.

              image
            • By default, the ContextId is params.id when Enable Id field for actions is disabled. When enabled, in addition to entering a ContextId from a data source, use Id Field for Actions to set any page parameter, session variable, or $root variable to fetch actions.

              For example, use the $root.vlocity context variable, such as $root.vlocity.userContactId to create an action for a logged-in user. For a list of available context variables, see Cards Context Variables (Managed Package).

          5. In the Actions section of a card state, next to the Add button, select a reusable action from the picklist.
            image
            Important
            Important

            If you do not see the action you are looking for, confirm you have selected the appropriate sObject from the Salesforce Object Type dropdown.

          6. (Optional) Check the Actions Options checkbox to add Custom Parameters and Conditions.
           
          Loading
          Salesforce Help | Article