Activities of "alper"

you can use Settings to store UserAccessControl

OneTimeRunner.Run(() =>
{
     AbpPermissionManagementDbProperties.DbTablePrefix = "Abc"
});

Vijay / rxadvance.com asks:

  1. Unable to disable the local login

  2. Email confirmation email not coming.

  3. Email verification code not coming

  4. Verification Code – options not asking weather email/phone type?

  5. Also, I can’t able find the method to custom claims mapping while inserting the user For example, from Azure we need to insert Name, Surname. I am not able set the claims from Azure to User Table. This very critical we are moving to production very soon.

  6. some of delete function not working.

  7. I do notice that we don’t have any backend tables for permission/localization master data. So how we can manage the permission for remote/client applications which out of side Identity Manager. Our flow

    1. IdentityServer (to single sign-on )
    2. IdenityManager (ALL ABP in build UI)
    3. Client apps (business/client1) - how we can send given applications permission on #2 (Identity Manager)
    4. Client apps (business/client2) -how we can send given applications permission on #2 (Identity Manager)
    5. Client apps (business/client3) -how we can send given applications permission on #2 (Identity Manager)
  8. This is issue for us critical as of now. We have tried uncheck the client application level, that is not also working. Please help us ASAP. On top of all setting options not saving from UI. If changed from DB it is not showing until I re-cycle the application pool.

    Our goal – not enable the self registration and local login for few clients.. however, we need enable self-registration for external clients/apps. It is separated application were read from appsetting or in memory (stratup page). But I did not see any options.

Vijay P. Nallala asks:

Can you please suggest – how we can set the custom guid as “object Type” in Mongo DB

Class


Public class TestClass  :Entity<string>
{
        public string Id { get; set};
        public string FirstName { get; set};
}

Repo- ModelBinding

modelBuilder.Entity<TestClass>(b =>
            {
//[BsonRepresentation(BsonType.ObjectId), BsonElement("_id")]

                b.CollectionName = "TestMember";
                b.BsonMap.MapProperty(x => x.Id).SetElementName("_id");
              //TODO SET THE BsonType as ObejctId “NOT AS BINARY”
            });


Thanks Vijay

Hi,

Suite finds the location of the code class via RegEx expressions. And some of them are precisely fine-tuned to inject the code to the right place. If I see your DbContext.cs file I can understand the reason.

@Nicolas my bad! it will come with v4.4

What would you do if you have a plain ASP.NET Core application?

Answer

4.3 file management module.

file upload api works on local host after deploying to server it won't work. redirects to home page. all other apis works well.

on the UI I can upload files well

have you tested this ?

there must be 2 identical enum value. you can remove the enum property and add again. or you can edit the entity.json file which is located in your .suite\entities folder.

Answer

Adding a new multi-tenanted entity through ABP Suite has AutoMapperConfigurationException

ABP Framework version: v4.3.0 ( module template) UI type: MVC DB provider: EF Core Identity Server Separated: no

When starting the Unified App from a Module template, after generating a multi-tenanted entity, adding migration and updating SQL database, the application has exception on startup:

An unhandled exception occurred while processing the request.

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

ResourceClassTypeCreateDto -> ResourceClassType (Destination member list) Acs.ResourceLibrary.ResourceClassTypes.ResourceClassTypeCreateDto -> Acs.ResourceLibrary.ResourceClassTypes.ResourceClassType (Destination member list)

Unmapped properties:

TenantId

ResourceClassTypeUpdateDto -> ResourceClassType (Destination member list) Acs.ResourceLibrary.ResourceClassTypes.ResourceClassTypeUpdateDto -> Acs.ResourceLibrary.ResourceClassTypes.ResourceClassType (Destination member list)

Unmapped properties: TenantId AutoMapper.ConfigurationValidator.AssertConfigurationIsValid(IEnumerable typeMaps)

<br> DependencyResolutionException: An exception was thrown while activating λ:Microsoft.AspNetCore.Identity.ISecurityStampValidator -> Castle.Proxies.AbpSecurityStampValidatorProxy -> Volo.Abp.MultiTenancy.TenantConfigurationProvider -> Volo.Saas.Tenants.TenantStore -> Volo.Abp.ObjectMapping.DefaultObjectMapper1[[Volo.Saas.SaasDomainModule, Volo.Saas.Domain, Version=4.3.0.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.AutoMapper.AutoMapperAutoObjectMappingProvider1[[Volo.Saas.SaasDomainModule, Volo.Saas.Domain, Version=4.3.0.0, Culture=neutral, PublicKeyToken=null]] -> λ:Volo.Abp.AutoMapper.IMapperAccessor -> λ:Volo.Abp.AutoMapper.MapperAccessor. Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action next)

<br> Was able to resolve the issue by adding .Ignore(x => x.TenantId) extension on the CreateMap in the src/Project.Application ProjectAutoMapperProfile class:

Is that the correct approach?

@AlderCove that's right.

I created a new entity with the latest Suite (4.3.1 not published yet) and it also ignores TenantId

Answer

I have an error with abp 4.3.0 and the Tiered MVC Version I think we got that error before, but could not find a issue here at that page.

Steps to reproduce:

  1. Generate a new MVC/EF Version with Tiered Option enabled
  2. Generate a Item a property with Abp Suite
  3. Start Web Application and access that Item Page

You receive that error:

(Also an bug or feature : The AddItem Menu Entry in MenuContributor is in a different place at ConfigureUserMenuAsync instead ConfigureMainMenuAsync)

I did check the index.js from that Item. There seams to be an error at the controller at line 3:

var inventoryItemService = window.tierTest.controllers.inventoryItems.inventoryItems;

instead of :
var inventoryItemService = window.tierTest.controllers.inventoryItems.inventoryItem;

I couldn't fix, because it seams that are more errors somewhere..

It works well if i generate a new ap without the Tired Option.

Do you got an workaround ?

@hakan while we fix this issue there's a workaround. open the templates page in Suite. and find index.js.txt make the following change entity-name-plural-camelcase => entity-name-camelcase

Showing 971 to 980 of 2058 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 23, 2025, 10:47