Hi,
you can try this
var $form = $('#formElement');
$form.on('submit', function (e) {
e.preventDefault();
if ($form.valid()) {
abp.message.confirm(
...,
async function (isConfirmed) {
if (isConfirmed) {
e.preventDefault();
$form.ajaxSubmit({
success: function (result) {
....
},
error: function (result) {
abp.notify.error(result.responseJSON.error.message);
abp.ui.clearBusy();
}
});
}
}
);
}
else {
abp.ui.clearBusy();
}
});
Hi,
It looks not related to Identityserver.
could you share the project with me? i will check it.
Hi,
How to register the above worker class to the multi-tenany.
You need to get all tenants first. You can try to use ADO.NET to get all tenants and register workers class to the multi-tenany
SqlConnection connection = new(connectionString);
var tenants = await connection....;
foreach(var tenant in tenants)
{
context.Services.AddHostedService....
}
But there is a problem, When you add a new tenant, you need to restart the application.
I recommend you to loop through all tenants in the worker
public class CamundaWorker ....
{
public ......()
{
var tenants = await TenantRepository.GetListAsync();
foreach(var tenant in tenants)
{
using(CurrentTenant.Change(tenant.Id))
{
...
}
}
}
}
Hi,
All events are stored in a shared database. they are not tenant-isolated.
So it's one for database shared for all tenants and one worker per application
Hi
You can try
{
"items": [
{
"text": "Overview",
"path": "...",
"Previous": {
"Name": "Single-layer solution",
"Path": "testing/overall"
},
"Next": {
"Name": "Integration tests",
"Path": "testing/integration-tests"
}
}
]
}
Hi,
There are two ways to put it.
1 Use BundleContributor https://abp.io/docs/latest/framework/ui/mvc-razor-pages/bundling-minification#contributor-dependencies
[DependsOn(typeof(JQueryScriptContributor))] //Define the dependency
public class MyExtensionScriptBundleContributor : BundleContributor
{
//...
}
Hi,
It's reasonable, I will refund your ticket.
Hi,
You can consider using different Localization Resource.
for example
[LocalizationResourceName("MyResource")]
public class MyResource
{
}
[LocalizationResourceName("MyPartialResource")]
public class MyPartialResource
{
}
Configure<AbpLocalizationOptions>(options =>
{
options.Resources
.Add<MyResource>("en")
.AddBaseTypes(typeof(MyResource))
.AddVirtualJson("/Localization/MyResource");
options.Resources
.Add<MyPartialResource>("en")
.AddVirtualJson("/Localization/MyPartialResource")
.AddBaseTypes(typeof(MyResource)); //Inherit from an existing resource
options.DefaultResourceType = typeof(MyPartialResource);
});
Hi
I think you can't do it.
Add the Kendo UI scripts. The Kendo UI script files required by UI for ASP.NET Core must be loaded in the <head> tag after the jQuery script:
https://docs.telerik.com/aspnet-core/getting-started/first-steps
Hi,
we will consider use long type in the next version