# Fill Perspective Tree component with a dataset?

**URL:** <https://forum.inductiveautomation.com/t/fill-perspective-tree-component-with-a-dataset/35695>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [June 16, 2020, 12:44pm UTC](https://forum.inductiveautomation.com/t/fill-perspective-tree-component-with-a-dataset/35695 "2020-06-16T12:44:34Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 9, 2023, 10:37pm UTC](https://forum.inductiveautomation.com/t/fill-perspective-tree-component-with-a-dataset/35695/7 "2023-11-09T22:37:21Z")

</div>

See if my post below is of any help. In my example I'm setting up the tree for use as a navigation tree / site menu.  
You will need to script the creation of the structure.

> [@Perspective Tree Component - Navigation example](https://forum.inductiveautomation.com/t/perspective-tree-component-navigation-example/80801/2):
>
> Here's part of one I created. 
> 
> > **props.items**
> >
> > [{ "label": "Home", "expanded": true, "data": { "url": "/" }, "items": [] }, { "label": "Features", "expanded": true, "data": { "url": "/help" }, "items": [] }, { "label": "Performance", "expanded": true, "da…

---

_[View the full topic](https://forum.inductiveautomation.com/t/fill-perspective-tree-component-with-a-dataset/35695)._
