# Open Window with a UDT parameter inside another

**URL:** <https://forum.inductiveautomation.com/t/open-window-with-a-udt-parameter-inside-another/38157>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 28, 2020, 11:48am UTC](https://forum.inductiveautomation.com/t/open-window-with-a-udt-parameter-inside-another/38157 "2020-08-28T11:48:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [August 28, 2020, 11:48am UTC](https://forum.inductiveautomation.com/t/open-window-with-a-udt-parameter-inside-another/38157/1 "2020-08-28T11:48:35Z")

</div>

Good Afternoon.

In Ignition **8.0.14** I have created a **window** that receive a **UDT parameter** (“Dispositivo\_Deteccion”).  
In a script I want to open this window and the UDT parameter that I need to pass is **inside another UDT** but from “Choose Property” window the “Dispositivo\_Deteccion” UDT looks like a **FOLDER** , then I can’t choose it.

Any help?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/d/8d40064fa35124bb7810afc54a1c11bf06042ab2.png)

Best Regards.

---

<div class="post-metadata">

**Author:** ![franklepkowski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/franklepkowski/32/4808_2.png) [@franklepkowski](https://forum.inductiveautomation.com/u/franklepkowski)\
**Post date:** [August 28, 2020, 12:31pm UTC](https://forum.inductiveautomation.com/t/open-window-with-a-udt-parameter-inside-another/38157/2 "2020-08-28T12:31:01Z")

</div>

Informatica,

If I understand your issue correctly you will need to change your UDT custom property to the parent UDT type of UDT\_Detector\_Humo. Then in your script you will be able to drill down into the secondary nested UDT.

Thanks,

Frank

---

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forum.inductiveautomation.com/u/informatica)\
**Post date:** [August 28, 2020, 4:29pm UTC](https://forum.inductiveautomation.com/t/open-window-with-a-udt-parameter-inside-another/38157/3 "2020-08-28T16:29:08Z")

</div>

Thanks for the reply, but that is not the solution.  
There are other “parents” UDTs (“UDT\_Modulo”, “UDT\_Sirena”, …) that have a “Detection\_Device” UDT inside. So, I would must to make several windows, one for each parent UDT.

I think it is an Ignition bug.

---

<div class="post-metadata">

**Author:** ![Kevin.McClusky](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@Kevin.McClusky](https://forum.inductiveautomation.com/u/Kevin.McClusky)\
**Post date:** [August 29, 2020, 12:30am UTC](https://forum.inductiveautomation.com/t/open-window-with-a-udt-parameter-inside-another/38157/4 "2020-08-29T00:30:44Z")

</div>

I’m not sure if this will be a solution, but you can access that property directly by typing it in your script. That “Choose Property” dialog won’t let you select it directly, since it detects it as a folder, but that doesn’t prevent you from using it in your script.

(The same thing is true if you’re selecting a component v.s. selecting a component property. You can’t select the component itself in the “Choose Property” dialog box, but if you type the component path, you can use that component object in your script.)

The part I’m not sure will work is whether you’ll be successful passing that UDT into the other window. If you type the property path directly, and it doesn’t work because of the object type, you may need to switch your templates to use the UDT Path (as a String parameter) instead of a direct UDT parameter.
