Open Closed

Make SaaS menu Item invisible / turn off #1854


User avatar
0

Hi,

I would like to remove the SaaS Menu item from the main menu when logged in as Admin. Is there a way for me to turn it / make it invisible using the app.config or some other method?

Thank you,

Jesse

  • ABP Framework version: Latest
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can find the saas menu and remve it in your MenuContributor class.

    //SaasHostMenuNames.GroupName
    //SaasHostMenus.GroupName
    
  • User Avatar
    0

    thanks maliming....I used the following code in the MenuContributor class to remove the item:

    context.Menu.TryRemoveMenuItem(SaasHostMenus.GroupName);

    Thanks,

    Jesse

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 19, 2025, 10:09