# UDTs inside an UDT

**URL:** <https://forum.inductiveautomation.com/t/udts-inside-an-udt/93833>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 29, 2024, 9:27am UTC](https://forum.inductiveautomation.com/t/udts-inside-an-udt/93833 "2024-07-29T09:27:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Chauveliere](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Martin\_Chauveliere](https://forum.inductiveautomation.com/u/Martin_Chauveliere)\
**Post date:** [July 29, 2024, 9:27am UTC](https://forum.inductiveautomation.com/t/udts-inside-an-udt/93833/1 "2024-07-29T09:27:53Z")

</div>

Hi guys, another day another question.

Im sure its possible but dont know how to implement this.

Ivre created an UDT Equipement, inside this UDT there is a folder Rooms which is the rooms that are linked to this equipement.  
Inisde this folder I wanna place my Room UDT.

The problem is that I never have the same amount of Room in my Rooms folder for every Equipement, sometimes there is 0, 1, 2 or evern more rooms so I cant directly place Room UDT in Equipement UDT

When I try to place UDT in this folder I get this message :

Tag errors occurred during tag transfer Bad\_Unsupported("The target path '[default]Equipement/Rooms' does not have item 'Room' for overrides, and cannot accept children tags.")

THx for your help

---

<div class="post-metadata">

**Author:** ![nideyijuyidong](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@nideyijuyidong](https://forum.inductiveautomation.com/u/nideyijuyidong)\
**Post date:** [July 29, 2024, 9:46am UTC](https://forum.inductiveautomation.com/t/udts-inside-an-udt/93833/2 "2024-07-29T09:46:21Z")

</div>

You can select Parent Data Type when creating UDT.  
Create a UDT without Room, then create UDTs with one or more Rooms that inherit from the original UDT.

---

<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:** [July 29, 2024, 11:42am UTC](https://forum.inductiveautomation.com/t/udts-inside-an-udt/93833/3 "2024-07-29T11:42:46Z")

</div>

> [@Martin\_Chauveliere](#):
>
> place UDT in this folder I get this message

UDTs have a fixed structure. You cannot place any other object inside them. If there are only a few variations, then follow @nideyijuyidong's advice--make inherited UDTs for each variation.

Otherwise, you must make a tag folder **outside** your "Equipment" UDT for the variable number of "Room" instances.

---

<div class="post-metadata">

**Author:** ![nideyijuyidong](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@nideyijuyidong](https://forum.inductiveautomation.com/u/nideyijuyidong)\
**Post date:** [July 29, 2024, 2:20pm UTC](https://forum.inductiveautomation.com/t/udts-inside-an-udt/93833/4 "2024-07-29T14:20:31Z")

</div>

In a more complex situation, I put all the rooms in a folder, and then configure a list tag for the udt to indicate which rooms belong to this udt. This is more cumbersome, but it can also be useful, especially sometimes the customer wants to change the ownership of the rooms.

---

<div class="post-metadata">

**Author:** ![Martin\_Chauveliere](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Martin\_Chauveliere](https://forum.inductiveautomation.com/u/Martin_Chauveliere)\
**Post date:** [August 2, 2024, 2:58pm UTC](https://forum.inductiveautomation.com/t/udts-inside-an-udt/93833/5 "2024-08-02T14:58:34Z")

</div>

Thx for your answers guys, it works great 👍
