Correct Flow selection in Navigation Drawer in VBCS

 In previous blogs we have created the Navigation Drawer App, but in some cases the Navigation flow highlight is either incorrect or there is no highlight at all. Here we will mentions steps so we can correct the same.

  • Create a basic App with Navigation Drawer
  • Navigate to the Webapp (testnavapp) > Variables > Create a new String variable NavSelection and give it a default value of your landing page (main).




  • Now navigate to shell page Action for navigateToItem Custom Event, assign navigation value to the newly created Application-level variable NavSelection.


  • Once done navigate to shell-drawer fragment and add the variable as selection in Navigation List component.

  • Now run the application and check the result, focus should be shifted correctly as we navigate from flow to flow.
    • Before:


    • After:


Comments

Popular posts from this blog

Mavenize an Oracle ADF Application

Creating Column Filter on a VBCS Table using ListDataProvider(LDP)

Using Custom Colors in Sunburst Chart