# Tag Browse Tree Dataset

**URL:** <https://forum.inductiveautomation.com/t/tag-browse-tree-dataset/68716>\
**Category:** Ignition\
**Created:** [January 18, 2023, 8:57am UTC](https://forum.inductiveautomation.com/t/tag-browse-tree-dataset/68716 "2023-01-18T08:57:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![majad](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@majad](https://forum.inductiveautomation.com/u/majad)\
**Post date:** [January 18, 2023, 8:57am UTC](https://forum.inductiveautomation.com/t/tag-browse-tree-dataset/68716/1 "2023-01-18T08:57:54Z")

</div>

Hello,

as i have a Tree View which displays the Tag Browser but with the real names of the Tags (saved in the parameters of the UDT), i want to update it at times in case i added a new Tag or deleted one.  
I implemented this through a recursive function by using the system.tag.browse() function and checking for each tag if it already exists in the Tree View. This works fine but the runtime is long.

Now i got the idea that i can use the Tag Browser, refresh it and check if the dataset has changed through the PropertyChange script but as the Dataset behind the Tag Browse Tree is no Property, i wonder,it is even possible to access the Dataset and check for changes?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [January 18, 2023, 9:37am UTC](https://forum.inductiveautomation.com/t/tag-browse-tree-dataset/68716/2 "2023-01-18T09:37:28Z")

</div>

Don't call `system.tag.browse` recursively. It can take a `recursive=True` parameter.

Try with this first, and see if it still needs to be improved.

---

<div class="post-metadata">

**Author:** ![majad](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@majad](https://forum.inductiveautomation.com/u/majad)\
**Post date:** [January 19, 2023, 7:32am UTC](https://forum.inductiveautomation.com/t/tag-browse-tree-dataset/68716/3 "2023-01-19T07:32:27Z")

</div>

When i don't need to add a lot of tags this works perfectly, thanks!
