Activities of "smutairi"

  • ABP Framework version: v4.2.2
  • UI type: Angular / Blazor
  • DB provider: EF Core /
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I have found multiple anserts to adding a navigation property to a custom entity howerever there are no straightforward steps.

I have a module solution and I need to add a navigation property to my custom entity to the IdentityUser

please provide steps by step and hopefully add it to the official documentation for v4.2.2

the documentation should have a dedicated page for this subject "Integrating base user Identity with your entities"

Suggested topics in this page

  • 1-Many
  • Many-Many
  • extending IdentityModel
  • showing username in extended custom entity page
  • showing list of linked entities in user details page

thanks

https://github.com/abpframework/abp/issues/4154

Here is the scenario:

I am developing separate parts of an application each with its own module solution that has everything including the UI.

but I ran into an issue, how do I create a Global Search UI in a demo solution that uses these modules?

Example:

  • I have 3 custom module solutions (Products, Stocks, Cars)
  • I have 1 Demo Application solution that adds these a Nuget Packages and I can see them in the Menu of the demo solution.

I need to have a search box with a drop-down list (Products, Stocks, Cars) that does search and return results on the demo solution.

how do I architect the projects to accomplish this scenario?

I see what you mean, so the suggested way is to have search functionality in each custom module. and in the Demo Application I create a UI to handle all the search from different modules in one location.

sounds good thanks.

is this planned ?

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?

  • 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,

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

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='')]

  • 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?

Showing 1 to 10 of 17 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11