Hi again @kaustubh.kale@ness.com, I am sorry I've added the wrong URL.
Can you check this question's answers? I think the suggested steps in this question can answer your question.
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 ...
}
}
Hi, actually this is not related to ABP but Swashbuckle/Swagger. But I want to give you some instructions to how to do this,
Unchase.Swashbuckle.AspNetCore.Extensions
package and follow these steps.SchemaFilter
and define it in your configuration. Check this Stackoverflow answer for this.Hi @zhongfang, thanks for reporting the problem. It should be working now, can you try it again?
Hi @jlavallet, we've re-deployed the support platform. Now, you can use the advanced search section to make an exact match.
Hi @jlavallet, relevant PR is still under review. When it's approved/merged, we will re-deploy our support platform. I will inform you when it is done.
In the meantime, could you address the need I expressed?
Can you create a new question for this issue?
Hi @jlavallet, we've made some enhancements for a better searching experience on our support platform and it's under review process. When it tested and approved after review, you would be able to search the exact words. You will be able to get an exact match by searching for the sentence you want between the (") character.
E.g. "filter by role" => as you've specified.
Is there a parameter to specify to the abp CLI to create the commercial or community version ?
Hi @millennium, you can specify the template by using -t
flag. You can see the all options, from here.
E.g abp new DemoProject -t app
(creates an app template) (open-source template)
2- Can I use abp commercial projects in open source project? I mean Is it leagal to create a commercial project and share it as an open source project, or I must use the community version then ?
You have a file named appsettings.secrets.json
in your commercial project and in this file you have your AbpLicenseCode
. This code should be preserved and not exposed.
11.2 ABP Commercial products cannot be publicly shared or cannot be licensed as an open-source product without asking written permission of Volosoft Bilişim Anonim Şirketi. (https://commercial.abp.io/Eula)
Hi @cala, can you try the same command with specifying organization name:
abp login <username> -p <password> -o <organization_name>
Hi @annguyentps, only the Business and Enterprise license types are allowed to download source-code.
https://commercial.abp.io/pricing