# Using BrowseResult from system.tag.browseHistoricalTags()

**URL:** <https://forum.inductiveautomation.com/t/using-browseresult-from-system-tag-browsehistoricaltags/10962>\
**Category:** Ignition\
**Created:** [December 28, 2015, 4:11pm UTC](https://forum.inductiveautomation.com/t/using-browseresult-from-system-tag-browsehistoricaltags/10962 "2015-12-28T16:11:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drewdin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drewdin/32/3363_2.png) [@drewdin](https://forum.inductiveautomation.com/u/drewdin)\
**Post date:** [December 28, 2015, 4:11pm UTC](https://forum.inductiveautomation.com/t/using-browseresult-from-system-tag-browsehistoricaltags/10962/1 "2015-12-28T16:11:40Z")

</div>

Has anyone used the function `system.tag.browseHistoricalTags`?

[docs.inductiveautomation.com:84 … oricalTags](https://docs.inductiveautomation.com:8443/display/DOC/system.tag.browseHistoricalTags)

I can get back the BrowseResult, but it cannot be iterated or passed to a dataset. I can convert it to a string and parse it that way but it seems a stupid way to do it, anyone have any suggestions?

---

<div class="post-metadata">

**Author:** ![Devin](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@Devin](https://forum.inductiveautomation.com/u/Devin)\
**Post date:** [October 16, 2020, 3:31pm UTC](https://forum.inductiveautomation.com/t/using-browseresult-from-system-tag-browsehistoricaltags/10962/2 "2020-10-16T15:31:10Z")

</div>

Hoping to bump this with some success 🙂

I’m using the below code from the [documentation](https://docs.inductiveautomation.com/display/DOC79/system.tag.browseHistoricalTags) to pull all of my historical tags, and I have that working fine, I’m printing a list of all my historical tags to my console.

```auto
tagPath = '[Internal Historian/default]'

def browse(path=tagPath):
    for result in system.tag.browseHistoricalTags(path).getResults():
        print result.getPath()
        if result.hasChildren():
        	browse(result.getPath())
browse()

```

I’m just having issues getting this data somewhere to make it usable.

I’m attempting to pull the tags and display the historical tag paths in a table. In this install, I do not have a database, hence why I’m attempting to use this function to do this.

---

<div class="post-metadata">

**Author:** ![drewdin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drewdin/32/3363_2.png) [@drewdin](https://forum.inductiveautomation.com/u/drewdin)\
**Post date:** [October 16, 2020, 4:43pm UTC](https://forum.inductiveautomation.com/t/using-browseresult-from-system-tag-browsehistoricaltags/10962/3 "2020-10-16T16:43:26Z")

</div>

Nice, thanks
