Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
Hi, I want to replace the text of the modal save button only in one modal. How can I do this ?
We deployed a demo app Mvc/tiered application with a custom module on azure. I works fine but after around 30 minutes we losing the permissions and we can not access any menu item. It does not fix the problem when we logout and login again. After a few times the permissions get loaded again. We did not change any configurations in the appsettings.The added stacktrace shows the authentication error we got. Maybe we miss something in the configuration ?
Furthermore the Could not find the localization resource LeptonX on the remote server! appears steady. The application template is a not migrated 6.0.0 template. I have seen this LeptonX Version is used, is this the correct version for a 6.0.0 template?
<ItemGroup>
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="1.0.0-rc.*" />
</ItemGroup>
Additional Info
When the permissions get lost , they only got lost in current selected language. If switch the language for instance from english to german all menu items are are visible and enabled
Hello, in the documentation is the following written about this module :
The same for the public CMS KIT. Is there a official plan when the CMS KIT is available for Angular ? When not do you have any suggestions for a CMS Kit to integrate it into the ABP Application template ?
thank you in advanced
Hello how can I switch between sql server and mongo db in the module template? Currently when I start the module template only the sql server Database is used for the application. When I change the default connectionstring to the mongoDb connection string I got an error.
I guess I need to change something in the ModuleName.Web.Unified
public UnifiedDbContext CreateDbContext(string[] args)
{
var configuration = BuildConfiguration();
var builder = new DbContextOptionsBuilder<UnifiedDbContext>()
.UseSqlServer(configuration.GetConnectionString("Default"));
return new UnifiedDbContext(builder.Options);
}
and here
Configure<AbpDbContextOptions>(options =>
{
options.UseSqlServer();
});
My Appsetting
{
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=DemoModule_Unified;Trusted_Connection=True",
"Mongo": "mongodb://localhost:27017/DemoModule_Unified"
}
}
Hello, I have a issue with one of the helper tags. I used the following tag in a modal:
<abp-input asp-for="Project.StartDate" type="date"/>
If I change the application language the date format of the date picker does not change. The format always have the same date format as the OS. I have tried to change it with the asp-format in the tag and the DisplayFormat annotation on the property.
Is there any other way to change the date format or need I to use a classic input tag with a jquery datepicker ?
I have extended the DataBaseBlobContainer class with a new field a foreign key. In my service I want to create query which used the extended property but I cant it access after I get the IQueryable.
IQueryable<DatabaseBlobContainer> queryable = (await _databaseBlobContainerRepository.GetQueryableAsync())
.. here I want to use it
how can I do this ?
1[[Volo.Abp.TenantManagement.AbpTenantManagementDomainModule, Volo.Abp.TenantManagement.Domain, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.AutoMapper.AutoMapperAutoObjectMappingProvider
1[[Volo.Abp.TenantManagement.AbpTenantManagementDomainModule, Volo.Abp.TenantManagement.Domain, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]] -> λ:Volo.Abp.AutoMapper.IMapperAccessor -> λ:Volo.Abp.AutoMapper.MapperAccessor.
---> AutoMapper.AutoMapperConfigurationException:
Unmapped members were found. Review the types and members below.
Add a custom mapping expression, ignore, add a custom resolver, or modify the source/destination type
For no matching constructor, add a no-arg ctor, add optional arguments, or map all of the constructor parameters
======================================================================================
DatabaseBlob -> BlobDto (Destination member list)
Volo.Abp.BlobStoring.Database.DatabaseBlob -> IT42Portal.AssetManagement.Blob.BlobDto (Destination member list)Unmapped properties: Category
Hi, I have downloaded a module template with abp suite. Then I have created a UnifiedEfCoreEntityExtensionMappings.cs in the xxx.Web.Unified Module. This Class contains the code for the extension
public static void Configure()
{
OneTimeRunner.Run(() =>
{
ObjectExtensionManager.Instance
.MapEfCoreProperty<DatabaseBlob, bool>("AdditionalProperty");
more extensions .....
});
}
I call this method in the UnifieddbContextFactory.cs.
public UnifiedDbContext CreateDbContext(string[] args)
{
UnifiedEfCoreEntityExtensionMappings.Configure(); // HERE
var configuration = BuildConfiguration();
var builder = new DbContextOptionsBuilder<UnifiedDbContext>()
.UseSqlServer(configuration.GetConnectionString("Default"));
return new UnifiedDbContext(builder.Options);
}
The migrations is created and the extensions are done in the database. But when I create the mappings I always got the above mentioned exception.
May mappings are done in the xxx.Application.Module and looks like this
CreateMap<DatabaseBlob, BlobDto>()
.MapExtraProperties(MappingPropertyDefinitionChecks.None, null, true)
.ReverseMap();
... more mappings they look identical
What should I do that the mapping works ?
thank you for your help
Hi Guys, I have created a CRUD module with suite but always when I have created module I get this error message and it loads no data. What I am doing wrong ?
kind regards manuel
Hello, I have tried to change the default password settings.
In my SettingDefinitionProvider class I have added the SettingsDefiniton
context
.Add(
new SettingDefinition("Abp.Identity.Password.RequiredLength"),
new SettingDefinition("Abp.Identity.Password.RequiredUniqueChars"),
new SettingDefinition("Abp.Identity.Password.RequireNonAlphanumeric"),
new SettingDefinition("Abp.Identity.Password.RequireLowercase"),
new SettingDefinition("Abp.Identity.Password.RequireUppercase"),
new SettingDefinition("Abp.Identity.Password.RequireDigit")
);
And in my appsettings.json I have tried to set the values
"Settings": {
"Abp.Identity.Password.RequiredLength": "5",
"Abp.Identity.Password.RequiredUniqueChars": "0",
"Abp.Identity.Password.RequireNonAlphanumeric": "false",
"Abp.Identity.Password.RequireLowercase": "false",
"Abp.Identity.Password.RequireUppercase": "false",
"Abp.Identity.Password.RequireDigit": "true"
}
But it doesnt work the default vaules are the same. What I am doing wrong or what should I do ?