List Item
This SAIL component may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

a!richTextListItem( text, nestedList, showWhen )

Displays a nested list within a bulleted or numbered list in a Rich Text component.

See also: Rich text style guidance

Parameters

Name Keyword Types Description

Text

text

Text or Styled Text

Array of text to display as a rich text list item. Text can be formatted using a!richTextItem().

Nested List

nestedList

Bulleted List or Numbered List

A bulleted or numbered list to nest within the rich text list item. Use a!richTextBulletedList() or a!richTextNumberedList().

Visibility

showWhen

Boolean

Determines whether the component is displayed on the interface. When set to false, the component is hidden and is not evaluated. Default: true.

Usage considerations

Using the text and nestedList parameters

  • If text is null or contains an empty array, no text is displayed for the list item.
  • If nestedList is null, no nested list is displayed within the parent list.
  • A nested list doesn't need to be the same type of list as its parent list. Bulleted lists can be nested within numbered lists and vice versa.

Examples

Copy and paste an example into the INTERFACE DEFINITION in EXPRESSION MODE to see it displayed.

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
Open in Github Built: Thu, Aug 18, 2022 (08:23:12 AM)

On This Page

FEEDBACK