# Menu tree switch pages

**URL:** <https://forum.inductiveautomation.com/t/menu-tree-switch-pages/60530>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 9, 2022, 12:44am UTC](https://forum.inductiveautomation.com/t/menu-tree-switch-pages/60530 "2022-06-09T00:44:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyhkch](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lyhkch/32/9381_2.png) [@lyhkch](https://forum.inductiveautomation.com/u/lyhkch)\
**Post date:** [June 9, 2022, 12:44am UTC](https://forum.inductiveautomation.com/t/menu-tree-switch-pages/60530/1 "2022-06-09T00:44:13Z")

</div>

Hi , I want to ues menu tree switch page. The elements on the screen are all the same , so i want to use only one page, change the link of the data by passing different parameters . When I click different item on menu tree change the data links. So how can i solve it ?  
Thanks!

---

<div class="post-metadata">

**Author:** ![obober](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/obober/32/67865_2.png) [@obober](https://forum.inductiveautomation.com/u/obober)\
**Post date:** [June 23, 2022, 6:45pm UTC](https://forum.inductiveautomation.com/t/menu-tree-switch-pages/60530/2 "2022-06-23T18:45:41Z")

</div>

If I understand you correctly, seems like you are trying to change the values of various components on your screen based on a selection in a Menu Tree component in Perspective. Sounds like it might be a better idea to use the Tag Browse Tree if you are binding these components to tag values. Simply bind the values of each component to something based on the selection of the Tag Browse tree.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 23, 2022, 10:14pm UTC](https://forum.inductiveautomation.com/t/menu-tree-switch-pages/60530/3 "2022-06-23T22:14:02Z")

</div>

1. You’ll need to configure your page to [accept parameters](https://docs.inductiveautomation.com/display/DOC81/Pages+in+Perspective#:~:text=the%20Shared%20Settings.-,Passing%20Parameters%20(URL%20Parameters),-Pages%20can%20be).
2. Configure Your Menu Tree items to navigate to a page with those parameters supplied.

Assuming you have a page configuration like `/myPage/:paramOne/:paramTwo`, your items which would perform navigation should look like this: `/myPage/x/y`, and `/myPage/alpha/beta`

1. When the page receives the parameters, it pumps those into the corresponding Primary View, so bind any relevant component properties against View params with identical keys to those you’ve configured for the page. Binding a Label to display the value of `paramOne` would look like this:  
 ![Screen Shot 2022-06-23 at 3.13.49 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/0/10cc078c3bd7130b8a8239c2d52293646ee5654f.png)
