Is it possible to change localizations of the tenant related text on the login screen?
My application services are starting to get too big and now I'm looking to refactor it to make one method per application service (with one interface, input and output dto). How do you recommend to implement this? Do ABP has some base classes for it? Should I extend ApplicationService base class in each service? How can I call each one in the controller?
Check the docs before asking a question: https://abp.io/docs/latest
Check the samples to see the basic tasks: https://abp.io/docs/latest/samples
The exact solution to your question may have been answered before, and please first use the search on the homepage.
Provide us with the following info:
🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration
button.
Hello,
I added two extra columns to my Tenant entity and I need to make them available in angular through Config State Service (currentTenant property). How could I do this? What's the best approach?
ObjectExtensionManager.Instance.Modules()
.ConfigureSaas(saas =>
{
saas.ConfigureTenant(tenant =>
{
tenant.AddOrUpdateProperty<int>(
"MunicipioId",
property =>
{
property.UI.Lookup.Url = "/api/app/cidadaos/lookup/municipios";
property.UI.Lookup.DisplayPropertyName = "displayName";
//property.Attributes.Add(new RequiredAttribute());
//property.Attributes.Add(new LengthAttribute(minimumLength: 7, maximumLength: 7));
}
);
});
});
}
OneTimeRunner.Run(() =>
{
ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, int>(
"MunicipioId",
(entityBuilder, propertyBuilder) =>
{
propertyBuilder.HasMaxLength(7);
propertyBuilder.IsRequired();
}
);
ObjectExtensionManager.Instance
.MapEfCoreProperty<Tenant, string>(
"MunicipioId_Text",
(entityBuilder, propertyBuilder) =>
{
propertyBuilder.HasMaxLength(255);
propertyBuilder.IsRequired();
propertyBuilder.HasColumnName("Municipio");
}
);
});
Thanks!
Hi,
Where can I access the source code from abp-lookup-typeahead-mtm?
Thanks.
How can I implement switching between organization units using Angular UI? I'm using NavItemsService to create the navigation item, but I can't figure out how to trigger the context menu, similar to how it opens in the user profile and settings. Also, how can I set organizationUnitId in angular side, so it sends it in the http requests?