keep-menu-open
Reactive icon

Keep Menu Open

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 23 July 2024
 by 
0.0
 (0 ratings)
keep-menu-open

Keep Menu Open

Documentation
1.0.0

Cookbook:

1. Add an input parameter 'more' to block Menu:

2. Assign the widget Navigation/Submenu's Extended class: 

"app-menu-link" + If(ActiveItem = 1 and more =GetUsers.List.Current.User.Name , " open osui-submenu--is-open","")

where input parameter more is assigned dynamically


3. Set the target screen's menu (when a submenu is clicked) with a hard coded value, say static 1 and 

"Ann Olivarria" . For other target screen, it could be 1 and "Andrea Mccarthy" - the instance records comes from GetUsers.List.Current.User.Name in this sample - to be checked as an open menu:

In this sample as the target screen has value "AAnn Olivarria" then the menu AnnOVaria is kept open.

4. That's it