Nested Bulleted List

Certified Associate Developer

How can I create the nested bulleted list in Appian 

  Discussion posts and replies are publicly visible

Parents
  • The a!richTextBulletedList() can take an additional attribute of 'nestedList' which will automatically indent the list that you pass to it. For example:

    a!forEach(
        items: fn!enumerate(5) + 1,
        expression: a!richTextDisplayField(
          value: a!richTextBulletedList(
            items: {
              a!richTextListItem(
                text: fv!item,
                nestedList: a!richTextBulletedList(
                  items: a!forEach(
                    items: fn!enumerate(3) + 1,
                    expression: a!richTextListItem(text: fv!item)
                  )
                )
              )
            }
          )
        )
      )

    results in:

Reply
  • The a!richTextBulletedList() can take an additional attribute of 'nestedList' which will automatically indent the list that you pass to it. For example:

    a!forEach(
        items: fn!enumerate(5) + 1,
        expression: a!richTextDisplayField(
          value: a!richTextBulletedList(
            items: {
              a!richTextListItem(
                text: fv!item,
                nestedList: a!richTextBulletedList(
                  items: a!forEach(
                    items: fn!enumerate(3) + 1,
                    expression: a!richTextListItem(text: fv!item)
                  )
                )
              )
            }
          )
        )
      )

    results in:

Children
No Data