# Using Template Repeater with templates that use UDTs

**URL:** <https://forum.inductiveautomation.com/t/using-template-repeater-with-templates-that-use-udts/12257>\
**Category:** Ignition\
**Created:** [October 19, 2016, 8:37am UTC](https://forum.inductiveautomation.com/t/using-template-repeater-with-templates-that-use-udts/12257 "2016-10-19T08:37:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 19, 2016, 8:37am UTC](https://forum.inductiveautomation.com/t/using-template-repeater-with-templates-that-use-udts/12257/1 "2016-10-19T08:37:36Z")

</div>

Hi,

I’m very new to Ignition and perhaps this is a dumb question…

I have a tank template that has one custom parameter which is a UDT type. I’ve called the parameter TankUDT.

I have a number of instances of this UDT, named for example:  
[ul]Tank 9001  
Tank 9002  
Tank 9003…  
[/ul]

These are all within a tag folder: Deep South Tank Farm

I’m trying to use the template repeater to create a grid of tanks based on a dataset. The Index Parameter Name is set to TankUDT. At this stage, the dataset is manually entered for testing and contains a single column “TankUDT”. In the data rows, i’ve tried a number of different texts to try to get this working:  
[ul]  
Deep South Tank Farm/Tank 9003  
Tank 9003  
{Deep South Tank Farm/Tank 9003}  
[/ul]

None of these work… How can I do this?

Thanks in advance.

Nick

Edit:  
So I created a new template and instantiated the tank template inside of it, then used Indirect Tag Binding to substitute the tank number in the UDT instance name for a custom parameter part of the new template and this new template now works with the template repeater… surely there’s a more efficient way to do this?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 27, 2016, 1:05am UTC](https://forum.inductiveautomation.com/t/using-template-repeater-with-templates-that-use-udts/12257/2 "2016-10-27T01:05:17Z")

</div>

Just for completeness, I found what I was doing wrong here.

I had created my TankUDT custom parameter as a Template parameter and not an Internal parameter. Hence I could not use property bindings on the TankUDT parameter.

EDIT: This is generally a bad idea to pass a UDT parameter type. Pass the UDT instance’s tag path instead. This has two benefits:

- it doesn’t kill your client performance
- it doesn’t tie your parameter to a single UDT
