# Template Repeater indexing start number

**URL:** <https://forum.inductiveautomation.com/t/template-repeater-indexing-start-number/33851>\
**Category:** Ignition\
**Created:** [April 10, 2020, 7:06pm UTC](https://forum.inductiveautomation.com/t/template-repeater-indexing-start-number/33851 "2020-04-10T19:06:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eccornelsen](https://avatars.discourse-cdn.com/v4/letter/e/43a26b/32.png) [@eccornelsen](https://forum.inductiveautomation.com/u/eccornelsen)\
**Post date:** [April 10, 2020, 7:06pm UTC](https://forum.inductiveautomation.com/t/template-repeater-indexing-start-number/33851/1 "2020-04-10T19:06:52Z")

</div>

hi there,

I’m doing a template repeater, but my tags are index starting at 1, e.g. Motor 1, Motor 2, etc.  
When doing a template repeater, it is indexing starting at 0, but I don’t have a Motor 0.  
I did not find how to adjust the starting index number.  
Does anybody know?

 ![HOA_template_8](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9d990bb44311c5ecf890ff16e1068527389579a0.png)

thanks  
Erik

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [April 10, 2020, 7:08pm UTC](https://forum.inductiveautomation.com/t/template-repeater-indexing-start-number/33851/2 "2020-04-10T19:08:01Z")

</div>

Instead of binding to index, bind it to index +1

---

<div class="post-metadata">

**Author:** ![eccornelsen](https://avatars.discourse-cdn.com/v4/letter/e/43a26b/32.png) [@eccornelsen](https://forum.inductiveautomation.com/u/eccornelsen)\
**Post date:** [April 10, 2020, 7:11pm UTC](https://forum.inductiveautomation.com/t/template-repeater-indexing-start-number/33851/3 "2020-04-10T19:11:10Z")

</div>

hi @jpark  
do you mean here?  
I tried but it writes all indexMotor to value 1…

 ![HOA_template_9](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/eb43e02c6c49567d024c4cf507cb345a8136bd1e.png)

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [April 10, 2020, 7:19pm UTC](https://forum.inductiveautomation.com/t/template-repeater-indexing-start-number/33851/4 "2020-04-10T19:19:54Z")

</div>

No, inside your motor template.

---

<div class="post-metadata">

**Author:** ![eccornelsen](https://avatars.discourse-cdn.com/v4/letter/e/43a26b/32.png) [@eccornelsen](https://forum.inductiveautomation.com/u/eccornelsen)\
**Post date:** [April 10, 2020, 7:39pm UTC](https://forum.inductiveautomation.com/t/template-repeater-indexing-start-number/33851/5 "2020-04-10T19:39:30Z")

</div>

I managed to do by using a Repeat Behavior DataSet, instead of Counter, but I didnt like too much, because it was required to enter manually all the indexes…

Where do you mean inside (which property) the motor template itself?

 ![HOA_template_10](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/06cb398fdc17493e4e7c7cbf99a9cfb769579650.png)

Thanks
