try remove: JSON.stringify
data: {
ColumnName1: $("#selector1").val(),
HasHeader: $("#selector2").is("checked")
};
The simplest solution: The application sets the TenantId at the same time each time the system is called. How it is set up depends on how you determine the current tenant. For example, set the HTTP request header: Abp.TenantId
https://aspnetboilerplate.com/Pages/Documents/Multi-Tenancy#determining-current-tenant
Currently not implemented (requires a lot of changes)
Previous discussion: https://support.aspnetzero.com/QA/Questions/6195
What is the startup.cs content of your web.host project?
You can refer to the code of zero:
https://github.com/aspnetzero/aspnet-zero-core/blob/4d320b11bedbd0628c1332b1d223e76df8fe27be/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Authorization/Roles/RoleAppService.cs#L95
https://github.com/aspnetzero/aspnet-zero-core/blob/29212eb9058eeef8380e83ac1d216a747d3d06d6/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Editions/EditionAppService.cs#L194
If I understand what you mean correctly, I think you can use Host users to do these things, You can assign some tenants (TenantId) to some users (UserId) Then the Host user makes a judgment when operating the tenant.
Why not update the ObjectiveToleranceLimit with a new method?
If you want to update in the Update method, You first need to query the relevant ObjectiveToleranceLimit.
IE does not support the arrow function, we have to change to function.