Activities of "serdar.genc@talentra.net"

Hi @serdar.genc

Unfortunetely ABP Framework doesn't support multi-lingual entities now.

I can suggest to you creating different blogs with language names like en, fr and add new blogposts to them according to the language of the post language.

It's not compatible with the ABP language system. You should make custom implementation to redirect current blog.

Ok. Thanks enisn

How can I create multi-language blog posts with cmskit pro module?

  • ABP Framework version: v5.3.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

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.

Hi,

I added TenantType as an extra property to Tenant. how can i add it to CurrentTenant. I want to call it like this: CurrentTenant.TenantType etc.

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

i think like this , right ?

if you say yes, why '[Dependency(ReplaceServices = true)]' ReplaceServices error ? deprecated ?

Hi,

I want to use the 'FileDescriptorAppService' service in the FileManagement module inside my other service. By default, 'FileDescriptorAppService' uses container 'FileManagementContainer'. If I want to use another container in my own service, can I use Container as a parameter?

Thanks

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

handle it. thanks.

https://github.com/abpframework/abp-samples

Which sample application can I follow?

Showing 11 to 20 of 101 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11