Starts in:
2 DAYS
12 HRS
4 MIN
28 SEC
Starts in:
2 D
12 H
4 M
28 S
Open Closed

Create Lookup from enum within tenant screen #8227


User avatar
0
nabass created

I have a project with multiple modules and i can use lookup from module to other (Enum) and it works fine as image 1 when i tried to do same logic but this time within creating new tenant screen it's not working as expected the result is value as image 2 now you will say it is working and there is data but actually this data is wrong because i get lookup from Enum so the result is value on Enum not the value stored within localization (En || Ar) as image 1 so i want to show the localization value not Enum value i wrote my code within two classes 1- Domain Shared path ==> src\Horizon.HorizonERP.Domain.Shared\HorizonERPModuleExtensionConfigurator.cs

2- Entity Framework path ==> src\Horizon.HorizonERP.EntityFrameworkCore\EntityFrameworkCore\HorizonERPEfCoreEntityExtensionMappings.cs

  • ABP Framework version: v8.0.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share a minimal project to reproduce your problem?

    liming.ma@volosoft.com

    Thanks.

  • User Avatar
    0
    nabass created

    hi maliming Unfortunately i can't share the project if i create project with just one module it will work but my problem is i have multi modules a lot of them i want to make my logic within tenant create modal my steps is 1- creating new Enum within one of modules 2- create localization according to Enum values 3- create lookups to read from this Enum what happen is it works but the value within Enum show i want to read these values from localization is there a documentation explain this point or what're the steps should i do thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I need to reproduce your problem in some way to find the cause. From the information you shared, I don't have any ideas at the moment.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06