cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation not working. In Flexible Programming model

DhruvKumarSingh
Explorer
0 Kudos
839

Hello all,

I am working on a flexible programming model application, where this is my page layout.

My first page has a table and a smart filter bar.

Earlier when I didn't add the rowPress event for the macros table then the navigation was working perfectly from Custom Page to Object page, but I had to write some logic before navigation. So after adding the rowPress event the default navigation is not working is there any way to make it work or is it possible to navigate to a custom page from the first page, I tried a lot of way but they are not working, Can someone please help me to Navigate from one custom page to another custom page in a flexible programming model application?

View Entire Topic

Hi Dhruv,

Please take a look at my example, may be you get some idea. I navigate from the main page to the detail page when i create a new context. The navigation route is maintained in the manifest.json.

https://github.com/arunkrishnamoorthy/cap-draft-enabled/blob/main/app/captravelfpm/webapp/ext/view/D...

Also if you want to explicitly trigger the routing try the below API to navigate to the route you want.

this.getExtensionAPI().getRouting().navigateToRoute("/route");

If my solution did not solve your problem, may be posting a github repo of your example might help, some one might try it out and be able to help you.

Regards,

Arun K

DhruvKumarSingh
Explorer

Thank you arun.krishnamoorthy1988!!

I tried this.getExtensionAPI().getRouting().navigateToRoute("route");

And it worked.