hi @serdar.genc
This can't be managed now.
https://support.abp.io/QA/Questions/772#answer-0027fb42-c0e1-cd1c-1bf7-39fa52511797
How can I disable for all tenant ?
It is related to this question. I want to disable some modules in some edition packages. For example, I want CMS module enabled in Gold Edition and disabled in Standard Edition. How can I manage this?
Hi @Serdar, you need to override the
CurrentTenant
class, get the tenant by current tenant id and access the Extra Property dictionary of the tenant.[Dependency(ReplaceServices = true)] [ExposeServices(typeof(ICurrentTenant), typeof(CurrentTenant), typeof(MyCurrentTenant))] public class MyCurrentTenant : CurrentTenant { private readonly ITenantRepository _tenantRepository; public MyCurrentTenant(ICurrentTenantAccessor currentTenantAccessor, ITenantRepository tenantRepository):base(currentTenantAccessor) { _tenantRepository = tenantRepository; } public async Task<Dictionary<string, object>> GetExtraProperties() { if(!base.Id.HasValue) { return new Dictionary<string, object>(); } var tenant = await _tenantRepository.GetAsync(base.Id); //implement your logic //tenant.ExtraProperty ... } }
tesekkurler @EnginCanV.
handle it. thanks.
https://github.com/abpframework/abp-samples
Which sample application can I follow?
Teşekkürler arkadaşlar. deneyip haber vereceğim.
Hi,
Metronic theme is great. Abp lepton theme can be upgraded to such high quality ? how can we have have such a page as below ?
The multi step registration (sign up) steps ?
https://preview.keenthemes.com/metronic8/demo1/account/statements.html#kt_referrals_2
Hello Dicky.tech , Did you implementation metronic8 to abp?