Activities of "smutairi"

  • ABP Framework version: v6.0.1
  • UI type: Blazor
  • DB provider: EF Core

I am upgrading from V5.3 to V6.0.1 and at the same time am trying to remove IdentityServer dependency.

I am currently using a custom claim added as below (Domain Project)... how to accomblish the same with OpenIdDict module

Configure<AbpClaimsServiceOptions>(options => { options.RequestedClaims.Add("MY_CUSTOM_CLAIM"); });

ok thank you.

in the DB there is a list of ITEMS that have COUNTRY field.

when a user authenticates with Azure AD I would like to pick up Country claim from their profile and auto filter the list of ITEMS based on the Country field matching the user profile.

this functionality is currently what am looking for, it’s not implemented yet I am exploring the following:

  • Custom Claims
  • IdentityUser ExtraProperties
  • ICurrentUser
  • Custom Data Filters
  • ABP Framework version: v5.3.0.RC3
  • UI type: Blazor WASM
  • DB provider: EF Core

I am using Azure AD to authenticate and I pull a custom claim "Country"

I want to use that custom claim all over the application, and I also want it to be used for AUTO Filtering Data at the Repository Level.

what are the best options to enable this requirement using ABP functionality and core extensibility

Please make the Toolbar > LanguageSwitch in Lepton Theme auto hide if there is only one language

  • ABP Framework version: v4..3.0
  • UI type: Blazor
  • DB provider: EF Core
  • **Tiered (MVC) **: yes

I am managed to integrate Azure AD with ABP and Blazor UI.

What I want is to get more properties from Azure AD like "Groups" and "Managed By" and get access to them in ABP "CurrentUser" shared property.

How do I do this task?

Hi,

I'm not sure if I understand correctly what you want to accomplish. But I think all you have to do is to add additional key/value translations into the .json file. And then use those keys to read read translation, eg @L["TranslationName"].

Hi,

I would like to localize the [Required(ErrorMessage='')]

Hi,

Can you explain in detail and provide steps? thanks.

I would like to have the Validation Errors localized.

I am sure it can be done using Data Annotations, but I want to use the ABP way of using the class xxxxErrorCodes and my MappedCodeNamespace for Exceptions localizations in the *.json file

  • ABP Framework version: v4.3.0 RC1
  • UI type: Blazor
  • DB provider: EF Core

I am trying to localize Validation Messages for POCO (DTO) classes on Blazor.

I have my own Resource added and is working fine on notifications and other strings. but I want to localize the <ValidationError> tags on Razor pages

Example DTO


public class StockTypeCreateDto
    {
     ----ADD IT HERE---
        [Required]
        [StringLength(StockTypeConsts.NameMaxLength)]
        public string Name { get; set; }
        [Required]
        public bool IsStatic { get; set; }
    }
}

Example Razor

                <Validation>
                        <Field>
                            <FieldLabel>@L["Label:Name"] *</FieldLabel>
                            <TextEdit Autofocus="true" @bind-Text="@NewStockType.Name" MaxLength="StockTypeConsts.NameMaxLength">
                                <Feedback>
                                ----ADD IT HERE---
                                    <ValidationError>@L[MyProjectErrorCodes.RequiredField, L["Label:Name"]]</ValidationError>
                                </Feedback>
                            </TextEdit>
                        </Field>
                    </Validation>

hi

Its on the backlog

You can check this issue for now: https://github.com/abpframework/abp/issues/3807#issuecomment-627694184

can this be on the next milestone?

Showing 1 to 10 of 15 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54