How can I create the nested bulleted list in Appian
Discussion posts and replies are publicly visible
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: