# How to hide all tags property in perspective Tag Browse Tree component?

**URL:** <https://forum.inductiveautomation.com/t/how-to-hide-all-tags-property-in-perspective-tag-browse-tree-component/81153>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 30, 2023, 11:02am UTC](https://forum.inductiveautomation.com/t/how-to-hide-all-tags-property-in-perspective-tag-browse-tree-component/81153 "2023-10-30T11:02:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amar\_Patil](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Amar\_Patil](https://forum.inductiveautomation.com/u/Amar_Patil)\
**Post date:** [October 30, 2023, 11:02am UTC](https://forum.inductiveautomation.com/t/how-to-hide-all-tags-property-in-perspective-tag-browse-tree-component/81153/1 "2023-10-30T11:02:28Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/6/d61f419cd19caa1e1b96291690ee39deaf84794d.jpeg)  
Hello everyone,

I am trying to use a tag browse tree in perspective, I have to only show the all the tag paths in perspective Tag Browse Tree component. Does anyone know how to hide all tags property in perspective Tag Browse Tree component?

---

<div class="post-metadata">

**Author:** ![Jan\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jan\_Nguyen](https://forum.inductiveautomation.com/u/Jan_Nguyen)\
**Post date:** [October 31, 2023, 1:58pm UTC](https://forum.inductiveautomation.com/t/how-to-hide-all-tags-property-in-perspective-tag-browse-tree-component/81153/2 "2023-10-31T13:58:32Z")

</div>

Look at this : [post](https://forum.inductiveautomation.com/t/tag-browse-tree-node-filter/72682/2)

I did it by doing this...

```auto
.terminal-node:has(.tree-item:not([data-label=""])) {
	display: none;
}

```

---

<div class="post-metadata">

**Author:** ![Amar\_Patil](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Amar\_Patil](https://forum.inductiveautomation.com/u/Amar_Patil)\
**Post date:** [November 8, 2023, 5:47pm UTC](https://forum.inductiveautomation.com/t/how-to-hide-all-tags-property-in-perspective-tag-browse-tree-component/81153/3 "2023-11-08T17:47:06Z")

</div>

Hi, @Jan_Nguyen  
where I should implement this script.

.terminal-node:has(.tree-item:not([data-label=""])) {  
display: none;  
}

---

<div class="post-metadata">

**Author:** ![Jan\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Jan\_Nguyen](https://forum.inductiveautomation.com/u/Jan_Nguyen)\
**Post date:** [November 9, 2023, 8:39am UTC](https://forum.inductiveautomation.com/t/how-to-hide-all-tags-property-in-perspective-tag-browse-tree-component/81153/4 "2023-11-09T08:39:41Z")

</div>

In advanced stylesheet, look at this [link](https://docs.inductiveautomation.com/display/DOC81/Style+Classes).

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [November 11, 2025, 2:02pm UTC](https://forum.inductiveautomation.com/t/how-to-hide-all-tags-property-in-perspective-tag-browse-tree-component/81153/5 "2025-11-11T14:02:40Z")

</div>

Right click in the component. Open up scripts. Go to filterBrowseNode.

> This is called for each tag before it is displayed in the tag browse tree. Return False to exclude the tag from displayed results.

I belive you can do something like this:

```python
def filterBrowseNode(self, node):
	node_type = node.getObjectType().toString().lower()

	# To exclude tag properties and UDT properties
	return node_type not in ["property", "node"]

	# You could also do it the other way
	# return node_type in ["atomictag", "folder", "udtinstance"]

```

_PS: I know is an old topic but could help someone_
