You might find it easier to put this expression binding on your data
property, after installing my latest Simulation Aids module (assuming that last bug is fixed):
unionAll(
forEach(
columnsOf({Root container.path.to.custom.prop}),
asList(
it()[0],
if(
idx() < 8,
asList('I', 'str', 'str', 'I', 'str', 'str', 'str', 'str')[idx()],
'F'
)
)
),
{Root container.path.to.custom.prop}
)
{ The unionAll
function is really just a glorified wrapper around the DatasetBuilder class. }