Hello all,
I have a flex repeater with dynamic instances. Currently, I am getting the instances from the script below, but as you can see I limited the id to “id”: self.custom.id[0].id which is not what I want to do. The problem is “id” is also dynamic itself so I get id as JSON format in a custom property.
Transform format on a named query:
dict={ "instanceStyle": {
"classes": ""
},
"instancePosition": {},
"id": self.custom.id[0].id
}
list=[]
for i in range(value):
list.append(dict)
return list
This will return:
But I want this:
If for example my id returns:
I want to be able to get this as a result: