Open Closed

include entity from another module in Suite CRUD page generator #10309


User avatar
0
hassan.abuhelweh created

We are working on Enrolment Module using CRUD page Generator we installed MasterData Module and we build the solution successfully
The Entities from MasterData Module is not available in the Enrollment Module. We can access the entity in visual studio but from the ABP Suite cannot

*

  • Template: app
  • Created ABP Studio Version: 2.1.4
  • Current ABP Studio Version: 2.1.6 - ---ABP Suite 10.0.1
  • Tiered: Yes
  • Multi-Tenancy: Yes
  • UI Framework: angular
  • Theme: leptonx
  • Theme Style: system
  • Theme Menu Placement: side
  • Progressive Web App: No
  • Run Progressive Web App Support: No
  • Database Provider: ef
  • Database Management System: sqlserver
  • Separate Tenant Schema: No
  • Mobile Framework: none
  • Public Website: No
  • Social Login: Yes
  • Include Tests: Yes
  • Kubernetes Configuration: Yes
  • Distributed Event Bus: none
  • Use Local References: No
  • Optional Modules:
    • FileManagement
    • LanguageManagement
    • AuditLogging
    • OpenIddictAdmin
  • Selected Languages: English
  • Default Language: English
  • Create Command: abp new ABPPersona -t app --tiered --ui-framework angular --database-provider ef --database-management-system sqlserver --theme leptonx --skip-migration --skip-migrator --without-cms-kit --sample-crud-page --dont-run-install-libs --dont-run-bundling -no-gdpr -no-text-template-management -file-management

12 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, in your root folder's suite directory, there should be a module-entity-extension.json file with an example configuration for you. You can pass the related domain dll (MySampleModule.MyProject.Domain.dll) with the module name and let ABP Suite to scan for the domain dll and list the related module entities for you.

    Then, the related entities should be listed there, this is the way to extend the system's module entity listing functionality. (I noticed that it's not documented yet, and I'll document it asap, if you need help please let me know)

    Regards.

  • User Avatar
    0
    hassan.abuhelweh created

    I found the file but and I added the .dll but still not working { "Modules": [ { "DomainProjectDllFileName": "Persona.MasterData.Domain.dll" } ] }

    Please advise quickly because we are stuck and time wasted

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    [hassan.abuhelweh] said: I found the file but and I added the .dll but still not working
    { "Modules": [ { "DomainProjectDllFileName": "Persona.MasterData.Domain.dll" } ] }

    Please advise quickly because we are stuck and time wasted

    Does the Persona.Enrollment project have dependency to the relevant domain package? Probably not and it seems this is the reason. You should ensure that and try again, it should work but if you get problem, let me know.

    Regards.

  • User Avatar
    0
    hassan.abuhelweh created

    Please see the first screenshot of ABP its clear that Enrollment depends on Masterdata

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    [hassan.abuhelweh] said: I found the file but and I added the .dll but still not working
    { "Modules": [ { "DomainProjectDllFileName": "Persona.MasterData.Domain.dll" } ] }

    Please advise quickly because we are stuck and time wasted

    Hi, can you explain the problem? Does it not list the entities from the domain project or does it list it but when you try to establish 1 to n, then it creates build problems etc... ?

  • User Avatar
    0
    hassan.abuhelweh created

    All entities from other modules are not listed in the dropdown. please advice

  • User Avatar
    0
    hassan.abuhelweh created

    Hello @EngincanV

    Please advice, we are stuck for the last 4 days

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    [hassan.abuhelweh] said:

    Hello @EngincanV

    Please advice, we are stuck for the last 4 days

    I'll test it today and let you know.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi again, I have tried it and it did not work as you said. I've created an issue for that and we will fix this problem asap. (I refunded your ticket)

    Regards.

  • User Avatar
    0
    hassan.abuhelweh created

    Hello Any update on this ticket. Please help

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    [hassan.abuhelweh] said: Hello Any update on this ticket. Please help

    Hi, we have fixed the problem and it will be included with the patch release. So, we should wait for the patch release.

    Regards.

  • User Avatar
    0
    hassan.abuhelweh created

    Thanks for the update looking forward to it

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on February 05, 2026, 13:24
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.