# Refresh Tag Browse Tree

**URL:** <https://forum.inductiveautomation.com/t/refresh-tag-browse-tree/21857>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [January 14, 2019, 9:07am UTC](https://forum.inductiveautomation.com/t/refresh-tag-browse-tree/21857 "2019-01-14T09:07:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbiguet](https://avatars.discourse-cdn.com/v4/letter/f/c77e96/32.png) [@fbiguet](https://forum.inductiveautomation.com/u/fbiguet)\
**Post date:** [January 14, 2019, 9:07am UTC](https://forum.inductiveautomation.com/t/refresh-tag-browse-tree/21857/1 "2019-01-14T09:07:15Z")

</div>

Hi,

I want to refresh a tag browse tree when I’m press a button.  
I’ve put a the script “system.db.refresh(event.source.parent.getComponent(‘Tag Browse Tree’),“data”)”, on a actionperformed button, but nothing happen.

Could you help me please?

Thanks

---

<div class="post-metadata">

**Author:** ![Brett\_Yeomans](https://avatars.discourse-cdn.com/v4/letter/b/35a633/32.png) [@Brett\_Yeomans](https://forum.inductiveautomation.com/u/Brett_Yeomans)\
**Post date:** [January 14, 2019, 12:19pm UTC](https://forum.inductiveautomation.com/t/refresh-tag-browse-tree/21857/2 "2019-01-14T12:19:39Z")

</div>

This is mentioned in the User Manual, this worked for me:

event.source.parent.getComponent(‘Tag Browse Tree’).refresh()

---

<div class="post-metadata">

**Author:** ![Amin\_Akbarinakhjavan](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@Amin\_Akbarinakhjavan](https://forum.inductiveautomation.com/u/Amin_Akbarinakhjavan)\
**Post date:** [July 24, 2023, 11:57am UTC](https://forum.inductiveautomation.com/t/refresh-tag-browse-tree/21857/3 "2023-07-24T11:57:41Z")

</div>

I think this is from the Ignition SDK and it only works in vision. I'm trying to do the same thing in Perspective and haven't been able to yet! Any new thoughts?

---

<div class="post-metadata">

**Author:** ![Amin\_Akbarinakhjavan](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@Amin\_Akbarinakhjavan](https://forum.inductiveautomation.com/u/Amin_Akbarinakhjavan)\
**Post date:** [July 24, 2023, 12:03pm UTC](https://forum.inductiveautomation.com/t/refresh-tag-browse-tree/21857/4 "2023-07-24T12:03:54Z")

</div>

I just had an amazing idea and it worked! If you reset the path that the Tag Browser Tree is point to it will force it to refresh!  
Example: I have button with an onClick Scrip:  
self.getSibling("TagBrowseTree").props.root.path = "[edge]Motors"
