Free cookie consent management tool by TermsFeed Bars (Text Stacked) Template (a!cardTemplateBarTextStacked)
Bars (Text Stacked) Template
This function cannot be used with Custom Record Field Expressions.
For a full list of functions and their feature compatibility, explore the Appian Functions table.

Function

a!cardTemplateBarTextStacked( id, primaryText, secondaryText, icon, iconColor, iconAltText, tooltip, showWhen )

Displays a bar card template with an icon and stacked primary text and secondary text. For use in the Card Choice Field cardTemplate parameter.

Parameters

Name Keyword Types Description

Id

id

Any Type

Value that identifies the card.

Primary Text

primaryText

Text

Optional text to display on the first line inside the card.

Secondary Text

secondaryText

Text

Optional text to display beneath the primary text inside the card.

Icon

icon

Text

Icon to display inside the card.

Icon Color

iconColor

Text

Determines the icon color. Valid values: Any hex color or "ACCENT" (default), "STANDARD", "SECONDARY", "POSITIVE", "NEGATIVE".

Icon Alternative Text

iconAltText

Text

Equivalent alternate text for use by screen readers.

Tooltip

tooltip

Text

Text to display on mouseover (web) or tap (mobile).

Visibility

showWhen

Boolean

Determines whether the card is displayed in the set of card choices. When set to false, the card is hidden. Default: true.

Examples

Use the interactive editor below to test out your code:

Open in Github Built: Fri, Nov 10, 2023 (03:42:48 PM)

Bars (Text Stacked) Template

FEEDBACK