# Binding Template Components name to UDT Meta data 'TagName'

**URL:** <https://forum.inductiveautomation.com/t/binding-template-components-name-to-udt-meta-data-tagname/34110>\
**Category:** Ignition\
**Created:** [April 22, 2020, 7:31am UTC](https://forum.inductiveautomation.com/t/binding-template-components-name-to-udt-meta-data-tagname/34110 "2020-04-22T07:31:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgfgreaves](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@tgfgreaves](https://forum.inductiveautomation.com/u/tgfgreaves)\
**Post date:** [April 22, 2020, 7:31am UTC](https://forum.inductiveautomation.com/t/binding-template-components-name-to-udt-meta-data-tagname/34110/1 "2020-04-22T07:31:13Z")

</div>

Hi,

I have an issue with binding a components ‘Name’ (inside a template) to a UDTs Meta data ‘TagName’.  
Is this possible or is am i trying something that doesn’t work for a good reason?

Many thanks.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 22, 2020, 11:22am UTC](https://forum.inductiveautomation.com/t/binding-template-components-name-to-udt-meta-data-tagname/34110/2 "2020-04-22T11:22:52Z")

</div>

You have to account for tag bindings’ startup with a null, which is not a legal name and breaks your component. And deal with fallout invalid or duplicate names. IMNSHO, automatically naming a component with a binding is unwise. The better pattern is to use the name in your tag path for indirect binding. (Automating in reverse.)
