hi
The** tenant id** may be changed by code, so the caller is responsible for passing the tenant name.
using(currentTenant.Change(tenantId))
{
}
hi
You can customize related application services or repositories, and exclude some special entities in query results.
For example, extending the **User **entity to add some properties that represent identity(Super User, Admin, Employee ).
hi
Can you direct share a template project with me? liming.ma@volosoft.com
I will check it locally.
hi
You can override the GetClientIpAddress method to use IPV6 address.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/WebClientInfo/HttpContextWebClientInfoProvider.cs#L30
Normalize Auditlogs table as it has both TenantId and TenantName fields?
What do you mean? Can you explain?
Is there a way to sync entities across all tenant databases when IMultitenant is not used
You can switch to Host DB when querying this entity.
using (CurrentTenant.Change(null)) //Host
{
return await _yourEntityRepository.GetAllAsync();
}
I am getting exceptions
What's the full exceptions logs?
hi
You can try to override the SetEntityActionsAsync method of your Components
EntityActions
.Get<UserManagement>()
.AddRange(new EntityAction[]
{
new EntityAction
{
Text = L["Edit"],
Visible = (data) => HasUpdatePermission,
Clicked = async (data) => await OpenEditModalAsync(data.As<IdentityUserDto>()),
Icon = xxxx
}
});
https://github.com/abpframework/abp/blob/20fa13f5696ce8a43580b0c2a6f34c23352650c2/framework/src/Volo.Abp.AspNetCore.Components.Web/Volo/Abp/AspNetCore/Components/Web/Extensibility/EntityActions/EntityAction.cs#L13
https://github.com/abpframework/abp/blob/0fd542a13833fcecf47174f2870bde9e2133a158/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor#L46
hi
You can try to add twice migrations. change nvarchar2 to other data type first. secondly change to CLOB.
hi
Can you guys try again?