# Renamed and deleted folders in UDT definitions stay visible

**URL:** <https://forum.inductiveautomation.com/t/renamed-and-deleted-folders-in-udt-definitions-stay-visible/67290>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [December 6, 2022, 2:33pm UTC](https://forum.inductiveautomation.com/t/renamed-and-deleted-folders-in-udt-definitions-stay-visible/67290 "2022-12-06T14:33:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frederic\_Avet](https://avatars.discourse-cdn.com/v4/letter/f/f4b2a3/32.png) [@Frederic\_Avet](https://forum.inductiveautomation.com/u/Frederic_Avet)\
**Post date:** [December 6, 2022, 2:33pm UTC](https://forum.inductiveautomation.com/t/renamed-and-deleted-folders-in-udt-definitions-stay-visible/67290/1 "2022-12-06T14:33:46Z")

</div>

I have a project for testing things and I found out that renaming or deleting folders seems to still leave the folders visible for when you want to add a new data type instance to your tags.

So this is when you do New Tag =\> Data type instance  
Then it shows all renamed folders without any contents.  
Is there any way to fix it?

---

<div class="post-metadata">

**Author:** ![obober](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/obober/32/67865_2.png) [@obober](https://forum.inductiveautomation.com/u/obober)\
**Post date:** [December 7, 2022, 4:45pm UTC](https://forum.inductiveautomation.com/t/renamed-and-deleted-folders-in-udt-definitions-stay-visible/67290/2 "2022-12-07T16:45:01Z")

</div>

What version are you on? I couldn't do this on 8.1.22.

---

<div class="post-metadata">

**Author:** ![Frederic\_Avet](https://avatars.discourse-cdn.com/v4/letter/f/f4b2a3/32.png) [@Frederic\_Avet](https://forum.inductiveautomation.com/u/Frederic_Avet)\
**Post date:** [December 12, 2022, 8:37am UTC](https://forum.inductiveautomation.com/t/renamed-and-deleted-folders-in-udt-definitions-stay-visible/67290/3 "2022-12-12T08:37:23Z")

</div>

My apologies for the late response.  
I'm running 8.1.22

I can reproduce it by doing the following steps:

1. Make a new folder 'Testfolder123' in UDT Definitions
2. Make a UDT in the folder 'Test'
3. Rename the folder to 'Testfolder'

Screenshots of the results:

 ![afbeelding](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/1/b16659fbbbee74b89d46d6385e96af9c80af6e36.png)  
 ![afbeelding](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/1/21df5cf173f7c4ae22db6a9040b2446525a9ea2a.png)

Edit:  
Deleting the folder afterwards also still makes it show 'TestFolder' and 'TestFolder123' on the new data type instance.

---

<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:** [December 12, 2022, 12:44pm UTC](https://forum.inductiveautomation.com/t/renamed-and-deleted-folders-in-udt-definitions-stay-visible/67290/4 "2022-12-12T12:44:31Z")

</div>

So the flaw is that you can make UDT instances in the section for UDT definitions? Outside of a UDT definition?

---

<div class="post-metadata">

**Author:** ![Frederic\_Avet](https://avatars.discourse-cdn.com/v4/letter/f/f4b2a3/32.png) [@Frederic\_Avet](https://forum.inductiveautomation.com/u/Frederic_Avet)\
**Post date:** [December 12, 2022, 1:13pm UTC](https://forum.inductiveautomation.com/t/renamed-and-deleted-folders-in-udt-definitions-stay-visible/67290/5 "2022-12-12T13:13:24Z")

</div>

The flaw is that when renaming or deleting a folder containing an UDT in the UDT definitions, you will still see the folder (empty) while wanting to add a UDT instance in the tags.

---

<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:** [December 12, 2022, 1:28pm UTC](https://forum.inductiveautomation.com/t/renamed-and-deleted-folders-in-udt-definitions-stay-visible/67290/6 "2022-12-12T13:28:41Z")

</div>

Ok. I replicated this. Looks like a bug. Clicking on the tag browser's refresh button didn't help. Restarting the tag provider fixed it (but is disruptive in production).

---

<div class="post-metadata">

**Author:** ![obober](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/obober/32/67865_2.png) [@obober](https://forum.inductiveautomation.com/u/obober)\
**Post date:** [December 12, 2022, 5:19pm UTC](https://forum.inductiveautomation.com/t/renamed-and-deleted-folders-in-udt-definitions-stay-visible/67290/7 "2022-12-12T17:19:29Z")

</div>

Yeah, I thought the issue was different based on your description. I just replicated it. I recommend you open up a support ticket with us to have an engineer take a deeper look to determine if we need to open up a bug ticket for it or not.
