Collection Item Formatting
Sometimes you need to format items that appear within a collection. The way you do this is slightly differently. Namely in front of the item you want to format you need to put:
formatToString
After the item you indicate the format, which is the same as previously. So 'C' will change an item to appear in currency format e.g.
{{formatToString TransactionDetail.Statement.ADecimalField 'C'}}
Means it will be displayed like so e.g. £123.45 even if what we got back was 123.4550534
Equally a date would be like so:
{{formatToString TransactionDetail.Statement.SomeDateField 'dd/MM/yyyy'}}
Last updated
Was this helpful?