# Connect template to UDT tag

**URL:** <https://forum.inductiveautomation.com/t/connect-template-to-udt-tag/102096>\
**Category:** Ignition\
**Tags:** vision, perspective\
**Created:** [February 10, 2025, 11:39am UTC](https://forum.inductiveautomation.com/t/connect-template-to-udt-tag/102096 "2025-02-10T11:39:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adil\_foot](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@adil\_foot](https://forum.inductiveautomation.com/u/adil_foot)\
**Post date:** [February 10, 2025, 11:39am UTC](https://forum.inductiveautomation.com/t/connect-template-to-udt-tag/102096/1 "2025-02-10T11:39:15Z")

</div>

Hi everyone  
i created a data typ instance (udt) and i would like to attach it to a template that already designed. how to do that?

---

<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:** [February 10, 2025, 11:46am UTC](https://forum.inductiveautomation.com/t/connect-template-to-udt-tag/102096/2 "2025-02-10T11:46:01Z")

</div>

Please edit your question title and add in either the Vision or Perspective tag so we know which module you're using. "Template" suggests Vision.

---

<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:** [February 10, 2025, 12:43pm UTC](https://forum.inductiveautomation.com/t/connect-template-to-udt-tag/102096/3 "2025-02-10T12:43:31Z")

</div>

Do you really want an answer for both Perspective and Vision?

Vision, you would add a string template prop to pass in the tag path to your UDT instance. Then use indirect tag bindings to address your tags using the tag path as the prefix. Don't be fooled into using UDT Type parameter types as these are like politicians; their marketing will lead you to believe they're cool, but then when they're in, you'll soon find their limitations and performance impacts. Seriously, don't do it. However if you're still thinking about it, do a search for UDT Type parameter vision on the forum and you'll see countless posts about why you shouldn't

For Perspective, you can add types into the View template props under `props.dropConfig` where you can set up your views to be attached to certain udt types. When you drag a UDT instance of that type onto the page you will the see a list of views with that association to choose from, and it will for example copy the tag path of the UDT instance into the specified View param for you

> **[Perspective - View Object | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-view-object#dropconfig-properties)**
>
> This is the view itself. A view has properties that control the view size, defines how Tags are dropped into a view, and settings for loading client views. The view properties are the same for each container type. View properties are displayed in the...
