How to link a label with a tag

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?

You can bind the label's text to the name like this:
image

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

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

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

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.

It worked! Thanks.

How do you get that Meta folder to be displayed?

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