# Folder Refresh

**URL:** <https://forum.inductiveautomation.com/t/folder-refresh/6177>\
**Category:** Module Development\
**Created:** [April 9, 2013, 3:04am UTC](https://forum.inductiveautomation.com/t/folder-refresh/6177 "2013-04-09T03:04:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![idelamer](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@idelamer](https://forum.inductiveautomation.com/u/idelamer)\
**Post date:** [April 9, 2013, 3:04am UTC](https://forum.inductiveautomation.com/t/folder-refresh/6177/1 "2013-04-09T03:04:55Z")

</div>

At the moment I have the problem that when I add a new tag to my TagProvider, I must manually “Refresh” in the designer for the new tag to show up.

I tried a few things to see if it would trigger an automatic refresh. Namely I fire a Tag Changed event on the Folder tag when a tag is added or removed. But it doesn’t seem to work… From within and extended FolderTag:

```auto
s.getListener().tagChanged(new TagChangeEvent(this.path, this, null));
```

I also tried with folder.addTag() to no avail.

Anyone have success with this?

Cheers  
Ivan

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [April 15, 2013, 3:21pm UTC](https://forum.inductiveautomation.com/t/folder-refresh/6177/2 "2013-04-15T15:21:36Z")

</div>

Are you adding each folder individual down the path first? I think there is an outstanding ticket for the refresh problem when adding deeper paths directly, such as “Path/to/my/tag”. When a tag gets added, the tree refreshes for its parent, but in the case where the parent doesn’t exist, or was just added along with that tag, it doesn’t properly propagate it up to the root. If you just add a folder to the root, does it refresh? And then if you add one under that?

Regards,
