# Show Tags From Only One Storage Provider in a Tag Browse Tree

**URL:** <https://forum.inductiveautomation.com/t/show-tags-from-only-one-storage-provider-in-a-tag-browse-tree/81597>\
**Category:** Ignition\
**Created:** [November 7, 2023, 2:39pm UTC](https://forum.inductiveautomation.com/t/show-tags-from-only-one-storage-provider-in-a-tag-browse-tree/81597 "2023-11-07T14:39:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emile\_Laplante](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@Emile\_Laplante](https://forum.inductiveautomation.com/u/Emile_Laplante)\
**Post date:** [November 7, 2023, 2:39pm UTC](https://forum.inductiveautomation.com/t/show-tags-from-only-one-storage-provider-in-a-tag-browse-tree/81597/1 "2023-11-07T14:39:32Z")

</div>

Hi,

In a project, I have 2 storage providers for tags. I'd like to show tags from only one storage provider in a Tag browse tree. Is that possible?

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/2/c2bcef29feca021748bd86ec6d09cba3aef3407a.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 7, 2023, 4:11pm UTC](https://forum.inductiveautomation.com/t/show-tags-from-only-one-storage-provider-in-a-tag-browse-tree/81597/2 "2023-11-07T16:11:02Z")

</div>

Sure, by implementing the `filterTag` extension function on the component:  
[https://docs.inductiveautomation.com/display/DOC81/Vision+-+Tag+Browse+Tree+Scripting+Functions](https://docs.inductiveautomation.com/display/DOC81/Vision+-+Tag+Browse+Tree+Scripting+Functions)

---

<div class="post-metadata">

**Author:** ![Emile\_Laplante](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@Emile\_Laplante](https://forum.inductiveautomation.com/u/Emile_Laplante)\
**Post date:** [November 7, 2023, 4:40pm UTC](https://forum.inductiveautomation.com/t/show-tags-from-only-one-storage-provider-in-a-tag-browse-tree/81597/3 "2023-11-07T16:40:00Z")

</div>

Hi!

Thank you for the answer! But I see that the function filterTag is only getting called when the Tag Browse Tree is in "Realtime Tag Tree" mode. I use the Tag Browse Tree to plot historical data on an Easy chart, so I need it in "Historical Tag Tree" mode

There is the test I run to see when the function filter tag is called :  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/0/70bc9d08c26dc1ebf540c2b69e2d4d386ac3c830.png)

There is the output when the Tag Browse Tree is in "Realtime Tag Tree" mode:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/e/8e5fb2b4d5078d34026c9e9254c1c9b6e308a3ca.png)

There is the output when the Tag Browse Tree is in "Historical Tag Tree" mode:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/f/df7033067002d5141ca750653c11e78501ccaad0.png)

What can explain this?

Maybe I can filter out non historical tag in a Realtime Tag Tree with the function filterTag?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 7, 2023, 4:43pm UTC](https://forum.inductiveautomation.com/t/show-tags-from-only-one-storage-provider-in-a-tag-browse-tree/81597/4 "2023-11-07T16:43:50Z")

</div>

Actually... can you just set the root node path to your `tendances` provider?

---

<div class="post-metadata">

**Author:** ![Emile\_Laplante](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@Emile\_Laplante](https://forum.inductiveautomation.com/u/Emile_Laplante)\
**Post date:** [November 7, 2023, 5:02pm UTC](https://forum.inductiveautomation.com/t/show-tags-from-only-one-storage-provider-in-a-tag-browse-tree/81597/5 "2023-11-07T17:02:26Z")

</div>

Thanks, this is indeed the best solution.

---

<div class="post-metadata">

**Author:** ![Emile\_Laplante](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@Emile\_Laplante](https://forum.inductiveautomation.com/u/Emile_Laplante)\
**Post date:** [November 7, 2023, 5:04pm UTC](https://forum.inductiveautomation.com/t/show-tags-from-only-one-storage-provider-in-a-tag-browse-tree/81597/6 "2023-11-07T17:04:48Z")

</div>

@paul-griffith, still... why is the function filterTag is not called when the Tag Browse Tree is in historical data mode?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 7, 2023, 5:19pm UTC](https://forum.inductiveautomation.com/t/show-tags-from-only-one-storage-provider-in-a-tag-browse-tree/81597/7 "2023-11-07T17:19:17Z")

</div>

It appears to be intentional. I'm not sure if that's behavior that changed at some point (perhaps in 8.0, when the entire tag system was rewritten) or if it's always been that way.
