# Tag Browse Tree - Selected path is always empty after deleting the dataset

**URL:** <https://forum.inductiveautomation.com/t/tag-browse-tree-selected-path-is-always-empty-after-deleting-the-dataset/96346>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [September 24, 2024, 9:08am UTC](https://forum.inductiveautomation.com/t/tag-browse-tree-selected-path-is-always-empty-after-deleting-the-dataset/96346 "2024-09-24T09:08:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [September 24, 2024, 9:08am UTC](https://forum.inductiveautomation.com/t/tag-browse-tree-selected-path-is-always-empty-after-deleting-the-dataset/96346/1 "2024-09-24T09:08:29Z")

</div>

Hi, I was playing with the Tag Browse Tree and during a test I delete the dataset of the property "Selected Paths" of a specific tag (in Realtime mode)

Since that moment every time I select that tag, the dataset is empty. Also if I write inside the dataset the correct path, the next time is return empty.

How can I force the selectedPath to fix this?

Thank you

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/6/e61abdd678804e879a46d0c7d3f5c564c6a49d24.png)

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 15, 2024, 9:10pm UTC](https://forum.inductiveautomation.com/t/tag-browse-tree-selected-path-is-always-empty-after-deleting-the-dataset/96346/2 "2024-10-15T21:10:12Z")

</div>

> [@Aiasa21](#):
>
> How can I force the selectedPath

I'm not sure I understand your question. In my testing, I didn't observe any unexpected behaviors. _--Ignition v8.1.35_.

When I write a null value to the dataset, it behaves as expected and clears the tag path:

```python
tagBrowseTree.selectedPaths = system.dataset.toDataSet(['selectedPath'], [[None]])

```

Similarly, if I provide a tagpath in the dataset, it selects the given path:

```python
tagBrowseTree.selectedPaths = system.dataset.toDataSet(['selectedPath'], [[someTagPath]])

```
