{1,2,3}, {56,76,54,32}, {12,23,45,54,32,54}, {1,2,3,4,5,6,7}, {8,9,10,11,12,13,14,15}
Please suggest how do this using foreach function get output like this,
Discussion posts and replies are publicly visible
As the others mention, if these are properly defined in a dictionary or map, use:
a!localVariables( local!data: { a!map(list: {1,2,3}), a!map(list: {56,76,54,32}), a!map(list: {12,23,45,54,32,54}), a!map(list: {1,2,3,4,5,6,7}), a!map(list: {8,9,10,11,12,13,14,15}) }, a!richTextDisplayField( value: a!richTextBulletedList( items: a!forEach( items: local!data, expression: a!richTextListItem( text: concat( "length of array ", fv!index, " is ", count(fv!item.list) ) ) ) ) ) )
its give nested result
AMIT KUMAR said:its give nested result
I'm not sure what this is referring to..
It sems like the results are exactly what you were looking for...
Thank you mike