In regards to the handful of items in perspective that have properties for showing a list of instances like the flex-repeater, view canvas, accordian, etc.
Some of them have the ability to add an “instance” or “item” and it automatically create an entry in the list that has pre-defined characteristics. (i.e. when you create a new instance on a flex repeater it already has the instanceStyle and instancePosition dictionaries included). For that component its really easy to add a dynamic list of items because all you need to do is define two dictionaries for each item.
But for more complicated items like the Accordian, View Canvas, and XY Chart (Axes/series/etc.) is it possible to get that pre-defined dictionary in scripting via the methods on the property itself?
There are quite a few methods on the PropertyTreeScriptWrapper$ArrayWrapper, but I am unable to find any information in the javadocs or anywhere else that describe the arguments and functionality.
Has anyone managed to figure this out, or any chance a developer would know if any of those methods do what I am describing?