# Parameterized Popup Window and UDTs

**URL:** <https://forum.inductiveautomation.com/t/parameterized-popup-window-and-udts/106061>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [May 8, 2025, 4:19pm UTC](https://forum.inductiveautomation.com/t/parameterized-popup-window-and-udts/106061 "2025-05-08T16:19:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jedrzejewski.mars](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@jedrzejewski.mars](https://forum.inductiveautomation.com/u/jedrzejewski.mars)\
**Post date:** [May 8, 2025, 4:19pm UTC](https://forum.inductiveautomation.com/t/parameterized-popup-window-and-udts/106061/1 "2025-05-08T16:19:59Z")

</div>

How do I pass a specific instance of a UDT using parameters when opening a pop up window. The video was not clear. I created a property named motor that is bound to the UDT in both the pop up and button. This is the error I am getting:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/6/961beb2bfb876f8e89ae7f5ac4222a99489dd3b2.png)

Here is the script of the button:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/1/a1956edde7c421e4334df049bff7f222b104158f.png)

---

<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:** [May 8, 2025, 9:58pm UTC](https://forum.inductiveautomation.com/t/parameterized-popup-window-and-udts/106061/2 "2025-05-08T21:58:26Z")

</div>

You should remove UDT type parameters from your repertoire for this and a lot of other reasons, and replace with passing in the tagpath to the template and popup and using indirect tag bindings instead to the tags you need to read/write. Search the forum for reasons why (performance, limitations)
