Activities of "Sraman"

Hi, And also how can I trigger an external api call and save the response to DB. Is it a good practice to do that from menu contributor?

  • ABP Framework version: v8.0.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Looking to trigger an event when a tenant login and load a dynamic menu using cache or any other custom method instead of IMenuContributor. So basically, looking for two things,

  1. Event handler which invokes when a tenant logins
  2. Based on the tenant Id want to perform a external api get call and save those data to an existing DB.
  3. Finally want to load the dynamic menu with the data pulled from get api call.

Need a proper way to tackle this. Not sure using IMenuContributor to load a dynamic menu is a good practice.

Any updates?

Is there a way to load menus dynamically with a cache to avoid frequent requests?

@IanW, I assign a feature value for each tenant and based on that tenant list of reports will available and those are displayed on the menu. I'm able to achieve this. But I need those dynamic menus to be available on permissions for roles and users. So that I can restrict those menus for particular user or roles.

Hope this is clear?

Hi,

May I know how to implement this https://github.com/abpframework/abp/issues/4448 in more detail.

Any other Realtime implementation would be great.

  • ABP Framework version: v8.0.0
  • UI Type: Angular / MVC / Blazor WASM / Blazor Server
  • Database System: EF Core (SQL Server)
  • **Tiered (for MVC) **: yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I have populated a dynamic menu based on tenant using ApplicationMenuItem and its working as expected.

And I would like to add those dynamic menus to the permissions page, so that I can assign a role or user level access to each of the menus. Unable to populate menus to the permissions screen based on tenant. PermissionDefinitionProvider is getting initialized only once.

Is there any workaround to include dynamic menu to the permissions page?

Since the hierarchy is Tenant -> Edition -> Default, Ideally Edition level values should be override on tenant level.

Hi,

The feature you want to implement is already available in previous version of ABP v7.4.5 or less.

If possible try to use previous version of ABP.

Thanks

No. That won't be possible. We have migrated all our application to 8.0.0.

Any other suggestion?

  • ABP Framework version: v8.0.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • **Tiered (for MVC) **: yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

If a tenant is assigned to an edition, feature values are not able to set at tenant level. Features values are only able to set at edition level and it's disabled at tenant level.

How can I override feature values at tenant level as well when it's assigned at edition level?

Any workaround for this?

顯示 67 個紀錄的 11 到 20 個.
Made with ❤️ on ABP v8.2.0-preview Updated on 3月 25, 2024, 15:11