Open Closed

ABPSuite 3 level hierarchy in master child Angular #10149


User avatar
0
manas-patnaik_HON created

Does AB Suite support generating a full 3-level child hierarchy (With Master-Child) (e.g., Lesson → Tests → Questions) with the Angular as frontend ?

its related to a existing ticket by another user , https://abp.io/support/questions/7047/ABP-Suite-Master---child-hierarchical-entities


2 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent
    1. Solution
    • Short answer: No. ABP Suite’s built-in Master-Detail generation currently supports a single child level (master → child). It does not generate a full 3-level nested hierarchy (e.g., Lesson → Tests → Questions) out of the box for the Angular UI.

    • What you can do:

      1. Use ABP Suite to generate the first two levels (Lesson → Tests) with Master-Detail.
      2. Manually add the third level (Questions) by:
        • Creating the third entity (Questions) in Suite (as a standalone CRUD).
        • Adding the foreign key (e.g., TestId) and the corresponding navigation properties.
        • Extending the generated Angular pages: inside the Tests detail/view/edit page, embed or route to the Questions list/edit components filtered by TestId.
        • Add application service methods for queries like GetListByTestIdAsync, and expose them via Angular proxy methods.
      3. Alternatively, model the hierarchy as two separate Master-Detail screens:
        • Screen A: Lessons (master) with Tests (detail)
        • Screen B: Tests (master) with Questions (detail)
        • Navigate from A’s Tests tab/row to B, passing the TestId.
    • Reference to the related support ticket: The existing thread confirms Suite handles master-child but not multi-level nested generation. You can use it as confirmation and guidance.

    1. Sources
    • https://abp.io/support/questions/7047/ABP-Suite-Master---child-hierarchical-entities (validated)

    This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Does ABP Suite support generating a full 3-level child hierarchy (With Master-Child) (e.g., Lesson → Tests → Questions) with the Angular as frontend ?

    Hi, currently ABP Suite does not support 3+ level master-child relationship. A master can have multiple child entities associated with it but unfortunately, in the current design, you can't make a child entity as a master entity of an another entity.

    Regards.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
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 January 06, 2026, 13:47
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.