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
Modify your data source rule rule!OOW_return0BprofileDetails() to return properly structured data with one row per account, ensuring each account has its own nickname and last login time as separate items in the array.
Also could you help us with what’s exactly your source data and what’s expected output to looklike.