# Altering Tree in Perspective Module

**URL:** <https://forum.inductiveautomation.com/t/altering-tree-in-perspective-module/65325>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [October 18, 2022, 4:58am UTC](https://forum.inductiveautomation.com/t/altering-tree-in-perspective-module/65325 "2022-10-18T04:58:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goutham\_Rao\_Y](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@Goutham\_Rao\_Y](https://forum.inductiveautomation.com/u/Goutham_Rao_Y)\
**Post date:** [October 18, 2022, 4:58am UTC](https://forum.inductiveautomation.com/t/altering-tree-in-perspective-module/65325/1 "2022-10-18T04:58:27Z")

</div>

Hi all,  
I'm new to the **IGNITION** application.  
I am currently working on the **PERSPECTIVE** MODULE and need assistance with the **TREE** aspect.

Here is the **Scenario** :  
I need a + button at the end of the **TREE's** Parent folder that will attach a **CHILD** folder underneath it when clicked.

[Screenshot Below]  
 ![ignition_tree_append](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/7/77a8274eca5f7b70116dc1883e81366a49c01d10.jpeg)

Can we alter the **Tree** to conduct these types of **tasks** , or are there other options?

Thanks in Advance,

---

<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:** [October 18, 2022, 6:38am UTC](https://forum.inductiveautomation.com/t/altering-tree-in-perspective-module/65325/2 "2022-10-18T06:38:35Z")

</div>

I wouldn't think it's possible easily.

What I've done was add a small flex container above the tree with a handy filter and a + button and only enable the button if a valid selection is made on the tree. Operation is easily understood by the users.

---

<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:** [October 18, 2022, 7:06am UTC](https://forum.inductiveautomation.com/t/altering-tree-in-perspective-module/65325/3 "2022-10-18T07:06:20Z")

</div>

I wouldn't think it's possible easily.

![Tree plus button](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/1/91d64b08939e3b524421784cf13f5ac92be6320e.png)

What I've done was add a small flex container above the tree with a handy filter, tree expand and collapse buttons and a + button to add branches. In my case the button opens a popup to define the properties of the new entry. Another option you could consider for your application is to only enable the button if a valid selection is made on the tree and then insert below that level. You just need to consider how to add to the root of the tree.

Operation is easily understood by the users.

---

<div class="post-metadata">

**Author:** ![Goutham\_Rao\_Y](https://avatars.discourse-cdn.com/v4/letter/g/eb9ed0/32.png) [@Goutham\_Rao\_Y](https://forum.inductiveautomation.com/u/Goutham_Rao_Y)\
**Post date:** [November 11, 2022, 6:40am UTC](https://forum.inductiveautomation.com/t/altering-tree-in-perspective-module/65325/4 "2022-11-11T06:40:14Z")

</div>

thanks
