# Navigation from flex repeater problem

**URL:** <https://forum.inductiveautomation.com/t/navigation-from-flex-repeater-problem/31446>\
**Category:** Ignition Early Access\
**Created:** [January 20, 2020, 10:13pm UTC](https://forum.inductiveautomation.com/t/navigation-from-flex-repeater-problem/31446 "2020-01-20T22:13:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maja](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@maja](https://forum.inductiveautomation.com/u/maja)\
**Post date:** [January 20, 2020, 10:13pm UTC](https://forum.inductiveautomation.com/t/navigation-from-flex-repeater-problem/31446/1 "2020-01-20T22:13:00Z")

</div>

Hi to All,

For my menu, I am using the example for the left menu from the ignition perspective exchange, for navigation way (one page with passing parameters for views) I am using example form ignition perspective online demo. in Page configuration section I have page configured as URL - “/page/:viewPar1/:viewPar2” Primary view - Pages/Main\_page. On the Main\_page view, I am reading “viewPar1” and “ViewPar2” and according to the values of these parameters, I am setting a path for an embedded page. And that works. But when I want to navigate to some other page (another view) from menu I have a problem, on each click on menu items on the existing URL just last parameter is exchanged with a new page URL. For example, when I first time click on menu item page is open correctly and URL is “[http://localhost:8088/data/perspective/client/Project\_new\*\*/page/Machine1/view1\*\*](http://localhost:8088/data/perspective/client/Project_new **/page/Machine1/view1** )”  
if I after that click on the menu item for view2 URL is changed to  
“[http://localhost:8088/data/perspective/client/Project\_new\*\*/page/Machine1/page/Machine1/view2\*\*](http://localhost:8088/data/perspective/client/Project_new **/page/Machine1/page/Machine1/view2** )”

The menu is done with flex repeater.  
If I insert ignition’s menu everything is good, If I insert push buttons again everything is good.

Does somebody have an idea what is the problem?

Thanks!!!

---

<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:** [January 21, 2020, 2:52pm UTC](https://forum.inductiveautomation.com/t/navigation-from-flex-repeater-problem/31446/2 "2020-01-21T14:52:00Z")

</div>

Is there any chance you could supply the View which contains the Flex Repeater?

---

<div class="post-metadata">

**Author:** ![maja](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@maja](https://forum.inductiveautomation.com/u/maja)\
**Post date:** [January 21, 2020, 3:20pm UTC](https://forum.inductiveautomation.com/t/navigation-from-flex-repeater-problem/31446/3 "2020-01-21T15:20:06Z")

</div>

Yes, I can. It’s a same like example left menu.  
[Project\_new\_2020-01-21\_0718.zip](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/0a20481469251c943e944b048429e59f9a24609d.zip) (21.9 KB)  
In this zip file is all views that I am using for the menu.

---

<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:** [January 21, 2020, 4:49pm UTC](https://forum.inductiveautomation.com/t/navigation-from-flex-repeater-problem/31446/4 "2020-01-21T16:49:27Z")

</div>

It’s very important that you supply a leading slash for your subItemTarget values. navigation targets which do NOT include a leading slash are relative paths and REPLACE the final bit of the current URL, whereas targets WITH a leading slash are absolute paths. so switch `page/Device/Crane1` with `/page/Device/Crane1`.

---

<div class="post-metadata">

**Author:** ![maja](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@maja](https://forum.inductiveautomation.com/u/maja)\
**Post date:** [January 21, 2020, 5:30pm UTC](https://forum.inductiveautomation.com/t/navigation-from-flex-repeater-problem/31446/5 "2020-01-21T17:30:53Z")

</div>

🥶 I do not have comment for my mistake 😢

Thank you very much for help!!!
