Open Closed

Bind AppUser.cs Navigation in AppModule #843


User avatar
0
Leaf created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.1.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi,

I want to bind the AppUser.cs into combo box under Application Module. But in the ABP Suite Define a navigation property not able to do so.

In basic mode cannot search for AppUser.cs and in the advance mode are not allowed to point the folder mentioned in documentation.

Regards, Yap


4 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    it's weird. when you write user it must be filtered to AppUser

  • User Avatar
    0
    Leaf created

    Hi,

    I can see the AppUser.cs if in Application Template.

    But I can't find the AppUser.cs in Module Template for Navigation binding.

    Regard, Yap

  • User Avatar
    0
    alper created
    Support Team Director

    that's more clear now. let us check it. @yekalkan can you check that pls?

  • User Avatar
    0
    alper created
    Support Team Director

    AppUser is not in the module template because the user entity is in the application template. The modules shouldn't depend on the user entity in the app template. It's a bad practise. you are coupling main application and module. if you need a user in your module, you need to create a new user (duplicate the main user) for your module and sync it with the main app.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35