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 ?