Setting A Value From A Template In A Template Repeater

On a Template Repeater I could, by scripting, get some properties of the elements:
listElems= event.source.parent.getComponent(‘TemplateRepeaterDataset’).getLoadedTemplates()
for id in listStations:
aux = id.getPropertyValue(‘ElemPropertyX’)

My question is:
Is it possible to use: setPropertyValue(‘ElemPropertyX’) to set a value inside the element?¿
Many thanks,

Yes. TemplateRepeater is a DynamicPropertyProvider, which means it exposes get and set property value methods by name:

1 Like