Activities of "liangshiwei"

: )

Hi,

You need to specify -m option.

https://abp.io/docs/latest/cli#generate-proxy

Hi

How do you override AbpApplicationConfigurationAppService, you can try this:

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IAbpApplicationConfigurationAppService))]
public class MyApplicationConfigurationAppService : AbpApplicationConfigurationAppService
{
    public MyApplicationConfigurationAppService(
        [NotNull] IOptions<AbpLocalizationOptions> localizationOptions, 
        [NotNull] IOptions<AbpMultiTenancyOptions> multiTenancyOptions, 
        [NotNull] IServiceProvider serviceProvider, 
        [NotNull] IAbpAuthorizationPolicyProvider abpAuthorizationPolicyProvider, 
        [NotNull] IPermissionDefinitionManager permissionDefinitionManager, 
        [NotNull] DefaultAuthorizationPolicyProvider defaultAuthorizationPolicyProvider,
        [NotNull] IPermissionChecker permissionChecker, 
        [NotNull] IAuthorizationService authorizationService,
        [NotNull] ICurrentUser currentUser, 
        [NotNull] ISettingProvider settingProvider, 
        [NotNull] ISettingDefinitionManager settingDefinitionManager,
        [NotNull] IFeatureDefinitionManager featureDefinitionManager,
        [NotNull] ILanguageProvider languageProvider, 
        [NotNull] ITimezoneProvider timezoneProvider,
        [NotNull] IOptions<AbpClockOptions> abpClockOptions,
        [NotNull] ICachedObjectExtensionsDtoService cachedObjectExtensionsDtoService, 
        [NotNull] IOptions<AbpApplicationConfigurationOptions> options) :
        base(localizationOptions,
            multiTenancyOptions,
            serviceProvider,
            abpAuthorizationPolicyProvider,
            permissionDefinitionManager,
            defaultAuthorizationPolicyProvider,
            permissionChecker, 
            authorizationService, 
            currentUser, 
            settingProvider, 
            settingDefinitionManager, 
            featureDefinitionManager, 
            languageProvider, 
            timezoneProvider, 
            abpClockOptions, 
            cachedObjectExtensionsDtoService, 
            options)
    {
    }
    
    override ....
}

You can try

ClientelePortalHttpApiHostModule

public override void ConfigureServices(ServiceConfigurationContext context)
{
    .....
    MapClaims();
}
private void MapClaims()
{
    AbpClaimTypes.UserName = ClaimTypes.Name;
    AbpClaimTypes.Name = ClaimTypes.GivenName;
    AbpClaimTypes.SurName = ClaimTypes.Surname;
    AbpClaimTypes.UserId = ClaimTypes.NameIdentifier;
    AbpClaimTypes.Role = ClaimTypes.Role;
    AbpClaimTypes.Email = ClaimTypes.Email;
}

Update oAuthConfig

const oAuthConfig = {
  issuer: identityServerUrl,
  redirectUri: baseUrl,
  clientId: 'ClientelePortal_App',
  skipIssuerCheck: true,
  responseType: 'code',
  scope: 'offline_access ClientelePortal'
}; 

Do you have multiple organizations?

you can check it here and set the default organization

https://abp.io/my-organizations

Hi,

I'm not sure; you better debug AbpApplicationConfigurationAppService to see what happened.

Hi,

you can try this command to get the source code:

abp add-package @volo/abp.commercial.ng.ui --with-source-code

I created a project in mvc but I added Form Module without source code because I have the Teams License. so I think now I need to do it by myself.

yes, you need to implement angular UI yourself.

If you don't mind, you can also add a menu and redirect to the backend to use MVC UI to add forms

: )

I guess your app services return type or DTO property is Type

AbpApplicationConfigurationAppService is open source, you can override it to debug.

https://github.com/abpframework/abp/blob/97c72cd617f1ba01b0205ba60679c02dc71a0ca4/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L27

Showing 501 to 510 of 6692 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
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 12, 2025, 10:20