# Templare canva question

**URL:** <https://forum.inductiveautomation.com/t/templare-canva-question/53275>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [November 19, 2021, 7:47am UTC](https://forum.inductiveautomation.com/t/templare-canva-question/53275 "2021-11-19T07:47:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesusaltamirano600](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@jesusaltamirano600](https://forum.inductiveautomation.com/u/jesusaltamirano600)\
**Post date:** [November 19, 2021, 7:47am UTC](https://forum.inductiveautomation.com/t/templare-canva-question/53275/1 "2021-11-19T07:47:43Z")

</div>

Hello guys.

I have a template canva comoponente which shows squares that change between different colors depending of the status of a bit in a PLC.

I'm trying to get the state of very square into the template and put it into a list. This is the code that i'm trying to use. Any advice will be welcome,

> template\_list = system.gui.getWindow('Zones/Body Shop Overview').rootContainer.getComponent('Overview\_BL1RSM010').getAllTemplates()  
> for template in template\_list:  
> #Compare the name of each instance.  
> if template.getInstanceName() == "020":  
> #Print the Value property on the tagPath component inside the template  
> print template.getComponent("tagPath")

I'm only receiving a "none" in the script editor.

Thanks for your help.
