UI Nav Menu for App Bridge - Dynamically set the active link?

We’re in the process of implementing UI-Nav-Menu and wondering if there’s any way to set the active link? Something like the following:

Home Templates Settings

The core issue is that users navigate to pages within our app without interacting with the Ui Nav Menu, and this leads to an inconsistency between the active link shown in the UI Nav Menu and the page currently displayed to the user.

Any advice or insights would be greatly appreciated!

2 Likes

Hey @jback

Checking on this one and will report back!

2 Likes

Any update?

You can add route parameter to the URL, it highlights the menu which matches with the route.

For example, if url is -
/templates

then, the templates menu will be highlighted.