I am trying to get use to this Perspective module and some of the things are giving me some headaches. I have a view setup with three labels that is supposed to be my template. I have a Flex Repeater that is set to use said view as it’s path. I can manually set 1 or 2 or more instances of my template view, but this is not what I want. I am trying to use a tag with a script transform to tell props.instances how many template views and what values to produce. The problem is I get the error:
array found, object expected!
The proper number of template views show so I am half way there. here is what I have:
the tag is a data set with the values for the templates labels and is being transformed with this script
x =  for row in range(value.getRowCount()): y =  cols = ["partnum", "qtyscheduled", "note"] for cols in range(value.getColumnCount()-1): y.append(value.getValueAt(row, cols)) x.append(y) self.props.instances = x return self.props.instances