# Add new tag to folder in UDT instance

**URL:** <https://forum.inductiveautomation.com/t/add-new-tag-to-folder-in-udt-instance/32901>\
**Category:** Ignition\
**Created:** [March 6, 2020, 10:30pm UTC](https://forum.inductiveautomation.com/t/add-new-tag-to-folder-in-udt-instance/32901 "2020-03-06T22:30:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [March 6, 2020, 10:30pm UTC](https://forum.inductiveautomation.com/t/add-new-tag-to-folder-in-udt-instance/32901/1 "2020-03-06T22:30:33Z")

</div>

I have a UDT instance that has a folder in its definition. I want to be able to add other types of UDT instances to this folder in run time is it possible?

I have been trying system.tag.configure, but I keep getting

> The target path does not have item 'myNewTagName' for overrides, and cannot accept children tags.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [March 9, 2020, 4:56pm UTC](https://forum.inductiveautomation.com/t/add-new-tag-to-folder-in-udt-instance/32901/2 "2020-03-09T16:56:23Z")

</div>

Another way I could ask this question is how do I represent a list of tags in a tag? I was thinking I could make a folder in a UDT and then add and remove tags as necessary during runtime.

---

<div class="post-metadata">

**Author:** ![Carter\_Wente](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@Carter\_Wente](https://forum.inductiveautomation.com/u/Carter_Wente)\
**Post date:** [June 26, 2024, 1:25pm UTC](https://forum.inductiveautomation.com/t/add-new-tag-to-folder-in-udt-instance/32901/3 "2024-06-26T13:25:23Z")

</div>

@Jonathan Did you ever figure anything out for this, I'm running into a similar issue. I'm able to create a udt instance, but when I try to write to a tag within the udt instance it instead creates a custom property and writes to that instead.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/7/975a3fb9bb4fa0e5bc06ff83ee9cfe028ed6d71a.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/7/378e4a6c1e90be7443ae379daea3079b2b179a0b.png)

---

<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:** [June 26, 2024, 1:29pm UTC](https://forum.inductiveautomation.com/t/add-new-tag-to-folder-in-udt-instance/32901/4 "2024-06-26T13:29:19Z")

</div>

To write to a member tag of a UDT instance, you can simply use `system.tag.writeBlocking()`. If you must do overrides on members within `system.tag.configure`, you will need a nested `tags` list of dictionaries with the properly formatted details. (Non-trivial, unless you work from `system.tag.getConfiguration`.)

---

<div class="post-metadata">

**Author:** ![Carter\_Wente](https://avatars.discourse-cdn.com/v4/letter/c/f475e1/32.png) [@Carter\_Wente](https://forum.inductiveautomation.com/u/Carter_Wente)\
**Post date:** [June 26, 2024, 2:04pm UTC](https://forum.inductiveautomation.com/t/add-new-tag-to-folder-in-udt-instance/32901/5 "2024-06-26T14:04:33Z")

</div>

@pturmel I ended up working around it by using your suggestion to simply write to it after the tag is created.
