Add a Click Event to a Flexcard Element (Managed Package)

For the managed package runtime, enable an element on a Flexcard to perform an action when clicked. Supported elements include Image, Block, Icon, and Toggle.

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

Beginning Winter '22, enable Input elements to perform actions. See Flexcards Input Elements Reference (Managed Package).

  1. In the Flexcard Designer, select an element on the canvas that supports actions. Or, drag a supported element from the Build panel onto the canvas.
  2. From the Properties panel, click + Add Action.
  3. Beginning Spring '22, execute multiple sequential actions from one element:
    1. (Optional) To block users from interacting with the Flexcard until actions that require waiting for a response, such as a Data action, are resolved, enter true in Show Spinner. Or enter a merge field whose value is true, such as {requireResponse}. The user sees a spinner image and a dimmed page while waiting. Default is false.

    2. Select the right arrow under Actions next to the default Action label to reveal properties to configure.

    3. (Optional) To distinguish this action from other actions on this element, update Action Label. This label is only visible within the designer in Design view.

    4. Select the type of action to execute from the Action Type dropdown. See Flexcards Actions Reference (Managed Package).

    5. Before Spring '22, configure one action to execute:

    6. (Optional) To create another action that executes after the previous one completes, select + Add New, and repeat steps a through e.

    Before Spring '22, configure one action to execute:

    1. Select the type of action from the Action Type dropdown. See Flexcards Actions Reference (Managed Package).

    2. Before Spring '22, configure one action to execute:

  4. Click Save.

What’s next: Preview your Flexcard. See Preview a Flexcard (Managed Package).