You need to create a subclass of these two classes, change some code and replace the built-in services in the dependency injection container.
[ExposeServices(typeof(MainSiderbar))]
[Dependency(ReplaceServices = true)]
MyMainSiderbar : MainSiderbar
I can't see any subclass of MainSiderbar and MainHeaderToolbarUserMenu
Please share your code.
Your image is broken.
hi
we don't recommend using Type in dto. Replace it or add DisableValidationAttribute to this property.
public Type GridDefinitionType { get; set; }
ok, the support team will reply as soon as possible.
hi
The images are the changes that need to override in the subclass.
You need to create a subclass to replace the class and make the changs.
hi
Please share the class of GetLayoutTemplateInput
Please check this document carefully https://docs.abp.io/en/abp/latest/UI/Blazor/Customization-Overriding-Components#example-replacing-with-the-code-behind-file
I recommend you use Both but you can try this.
Please use the same permission name for host and tenant.
public override void Define(IPermissionDefinitionContext context)
{
if (context.ServiceProvider.GetRequiredService<AbpMultiTenancyOptions>().IsEnabled)
{
}
else
{
}
}