# Getting A Value From A Template In A Template Repeater

**URL:** <https://forum.inductiveautomation.com/t/getting-a-value-from-a-template-in-a-template-repeater/10128>\
**Category:** Ignition\
**Created:** [June 15, 2015, 1:20pm UTC](https://forum.inductiveautomation.com/t/getting-a-value-from-a-template-in-a-template-repeater/10128 "2015-06-15T13:20:57Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [September 9, 2015, 4:05am UTC](https://forum.inductiveautomation.com/t/getting-a-value-from-a-template-in-a-template-repeater/10128/6 "2015-09-09T04:05:28Z")

</div>

Hi rayjones9210,

If what you meant is to get a property value of a component in a template within a template repeater, then you can further get the component from the template after you obtain your template from a template receiver.

Something like this:

`templateRepeater = event.source.parent.getComponent('Template Repeater') #get the template repeater
templates = templateRepeater.getLoadedTemplates() #get all templates in template repeater
template = templates[0] #note that [0] refers to the first template in the templateRepeater
label = template.getComponent('Label') #get the component in the template
print label.text #get a property value of a component`

---

_[View the full topic](https://forum.inductiveautomation.com/t/getting-a-value-from-a-template-in-a-template-repeater/10128)._
