dynamic-menu
Reactive icon

Dynamic Menu

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 27 Jan (16 hours ago)
 by 
0.0
 (0 ratings)
dynamic-menu

Dynamic Menu

Documentation
1.0.0

How to use

  1. Configuring the menu in the backoffice
    1. Incorporate the MenuList and MenuEdit blocks, both available in the DynamicMenu_CW module, on your backoffice
    2. Use your backoffice to configure the menus and sub-menus, like it is done on the demo


  2. Incorporate the menu on the layout
    1. Add the Menu block, available in DynamicMenu_CW, on your layout menu placeholder, and set in the IsSideMenu parameter to True, if you will be using the menu as a side menu. If you're using it as a top menu, fill the parameter with False.


NOTE: The menu is cached both server-side and client-side for optimal performance.
When menus configured in the backoffice is changed, the server-side cache will be invalidated, so the new data is fetched.
The client side cache in this component uses client variables, and it is only refreshed when there is a new login or the user changes the locale.
In case this refresh rate is not enough for your use case, you may force the client side menu to react immediately to any change using a websocket, or adapting the Menu block in the DynamicMenu_CW module to trigger the refresh on more strict conditions.