Bars (Text Stacked) Template

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:

Feature compatibility

The table below lists this SAIL component's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Incompatible
Process Reports Incompatible

You cannot use this function to configure a process report.

Process Events Incompatible

You cannot use this function to configure a process event node, such as a start event or timer event.

Open in Github Built: Fri, Sep 23, 2022 (01:18:20 PM)

On This Page

FEEDBACK