I am trying to have the information iterated through and displayed in each row but am having trouble.. Can you please advise?
a!gridField_25r2( label: "Online Banking Profile Info", labelPosition: "ABOVE", data: rule!OOW_returnOBprofileDetails(CIF: ri!CIF), columns: { a!gridColumn( label: "Account Username", value: fv!row.userId ), a!gridColumn( label: "Account Nickname", value: rule!OOW_returnProfileNicknames(CIF: ri!CIF) ), a!gridColumn( label: "Last Log In", value: a!forEach( fv!row, rule!OOW_returnUserProfileLastLogIn(CIF: fv!row.customerCif) ) ), }, pageSize: 5, borderStyle: "STANDARD", shadeAlternateRows: true )
This is what is returned from my rule.
Discussion posts and replies are publicly visible
Your rule referenced in data attribute, is returning a single text instead of List of Text. If you expect the values to be displayed as an array then split the last expression in your rule using
split(local!variable (or whatever final expression you have) ,”;”)
No need to modify anything in main rule just split the final output so that it turns into a list of strings then try!