I'm just getting started using Boilerplate (MPA) and my aim is to build a multi tenant system where each tenant can create their own pages. I noticed however that the menu is created at startup (in other words, it's "hard coded" and not dynamic :| ) and I cannot figure out how to change it to reflect the different tenants pages.
The only solution I can think of is hiding the built in menu completely and render my own menu, but I would like to know if it is possible to utilize the built in one? :?:
Any help, hints or advice will be helpful.
2 Answer(s)
-
0
When you setup your partial view for the top bar (for example), you get a object of type MainMenu that you could manipulate at your own will. Otherwise, you could edit the setnavigation method from NavigationProvider to include some extra logic.
You just have to Add Items at your own will!