Base solution for your next web application
Open Closed

Tenant Specific Menu with Host #5030


User avatar
0
velu created

Hi,

How to create Tenant Specific Menu with Default in host also?

We are using ASP.NET MVC 5.X + ANGULARJS 1.X.

Please help me on that


7 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @velu,

    I'm not sure if I understand you very well but you can store data in CustomData field of MenuItemDefinition and then filter according to CustomData field when you are rendering the menu.

  • User Avatar
    0
    velu created

    I have two tenants as "TEST 1" and "TEST 2". In this i want to show Client Menu in "TEST 1" and HOST.

    But Do not show to "TEST 2"

    Please provide any detail example for this.

  • User Avatar
    0
    alper created
    Support Team

    how about creating a default role for the tenant TEST2. And remove all menu permissions from this new role.

  • User Avatar
    0
    velu created

    We need Cross Menu with Host and Single Tenant. Please Guide us.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @velu,

    Is it possible to share a screenshot of what you want ?

  • User Avatar
    0
    velu created

    I have one menu as "Transaction"

    I want show this menu in Host Login and show in specific one Tenant.

    Don't want to show on other tenants

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @velu,

    The best option is to use a custom FeatureDependency class. Create a feature dependency class and set it to your menuItem's featureDependency property.

    You can create a similar class to SimpleFeatureDependency. In this way, you can allow other tenants to see this menu item in the future.