Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
- ABP Framework version: v4.4.4
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"
How to show/hide menu items depending on current module selection ?
I have 2 different modules (module1 - 2 menu items, module2 - 4 menu items). In home screen customer will select module.
I need to display module menus only Depending on module selection
1 Answer(s)
-
0
This is a custom business logic. You can define a Setting for that selection, even you can make it user based setting since setting management has a UserSettingValueProvider
Then, you can go your each of module's MenuContributor and check that option to decide adding that MenuItem.