# How to link a label with a tag

**URL:** <https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262>\
**Category:** Ignition\
**Created:** [September 20, 2024, 9:23pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262 "2024-09-20T21:23:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Lino](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jose\_Lino](https://forum.inductiveautomation.com/u/Jose_Lino)\
**Post date:** [September 20, 2024, 9:23pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262/1 "2024-09-20T21:23:26Z")

</div>

I am trying to create a template with a label and a text field. While I know how to link the text field to a value, I want to link the label to a tag name. My goal is to use the template and see the tag name without having to write it manually. How can I do it?

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [September 20, 2024, 11:44pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262/2 "2024-09-20T23:44:34Z")

</div>

You can bind the label's text to the name like this:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/b/9b57b467aabe9c70aaba25c9b240d5c7b7a1d649.png)

---

<div class="post-metadata">

**Author:** ![Jose\_Lino](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jose\_Lino](https://forum.inductiveautomation.com/u/Jose_Lino)\
**Post date:** [September 23, 2024, 8:56pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262/3 "2024-09-23T20:56:10Z")

</div>

Thanks for the help! The issue is that the tag I’m working with is a Parent Data type, not a standard tag.  
 ![Screenshot 2024-09-23 155341](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/5/85ccacd0692761186b07658e2631b4e22b750dc6.png)

---

<div class="post-metadata">

**Author:** ![Jose\_Lino](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jose\_Lino](https://forum.inductiveautomation.com/u/Jose_Lino)\
**Post date:** [September 23, 2024, 8:57pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262/4 "2024-09-23T20:57:12Z")

</div>

And I want to link the text field to display "Sensor 1", "Sensor 2", etc.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 23, 2024, 9:14pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262/5 "2024-09-23T21:14:05Z")

</div>

Please add the `vision` or `perspective` tag to your question title (via the dropdown). It may help attract the right person.

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [September 23, 2024, 9:34pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262/6 "2024-09-23T21:34:26Z")

</div>

Since the word "template" was used I assumed this was a vision question. It sounds like you are binding a UDT as a template parameter, this is usually advised against. You could instead create a string parameter for the tag path and use indirect binding to the tags within your UDT. This would also let you do some string manipulation to get the tag name out of the path you provided.

Edit:  
You actually can do this pretty easily, i believe there can be performance issues with binding a udt directly, but may not be an issue for you.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/7/b7e42d6b6fd8f4a8e0ce0bdf89a5a0f09d75d732.png)

---

<div class="post-metadata">

**Author:** ![Jose\_Lino](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jose\_Lino](https://forum.inductiveautomation.com/u/Jose_Lino)\
**Post date:** [September 24, 2024, 1:34pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262/7 "2024-09-24T13:34:58Z")

</div>

It worked! Thanks.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [September 24, 2024, 2:39pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262/8 "2024-09-24T14:39:03Z")

</div>

How do you get that Meta folder to be displayed?

---

<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:** [September 24, 2024, 3:05pm UTC](https://forum.inductiveautomation.com/t/how-to-link-a-label-with-a-tag/96262/9 "2024-09-24T15:05:50Z")

</div>

That only exists for UI properties of type UDTInstance, which you should never use.
