I have this scenario (See code below). I am navigating from page(page1) to the page(page2) below and passing a page_id through the router. how do i implement seektopath to land on an exact PageControl page based on the page_id.
Thanks
<!-- Javascript- ->
var Observable = require("FuseJS/Observable");
var pageData = Observable();
var myData = this.Parameter;
currentPage = myData.map(function(x){ return x.page_id});
pageData =[
{name:"Page1"},
{name:"Page2"},
{name:"Page3"},
{name:"Page4"},
{name:"Page5"}
]
module.exports ={pageData}
<!-- UX Code -->
<PageControl Active="{CurrentPage}" Transition="None" ux:Name="pageControl">
<Each Items="{pageData}">
<Panel Name="{name}" Background="Yellow"><Text Value="{name}"/></Panel>
</Each>
</PageControl>