Hi Inductive World,
I'm trying to take a 'template repeater' parameter value and write to one of the template parameters (on the child template). This is the script I have to get the components of the template.
repeater = event.source.parent.getComponent('Template Repeater')
loadedTemplates = repeater.getLoadedTemplates()
for temp in loadedTemplates:
y = temp.getComponent('rowCountTempParam')
print y
valueToWrite = event.source.rowCount
if y is not None:
x = y.setParameter('rowCountTempParam', valueToWrite)
I'm able to access the child template component 'rowCountTempParam' from the outside layer but it shows up as 'none' and can't write to it. Any help is appreciated!