web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Out of Box N:N Entity
Power Apps
Unanswered

Out of Box N:N Entity

(0) ShareShare
ReportReport
Posted on by 58
I have the same question (0)
  • Fubar Profile Picture
    8,340 Super User 2025 Season 2 on at

    Not sure what validations you are doing - normally JavaScript, Workflow, Plugins and business rules will work on the Quick Create form (for JS and the business rule you just have to set them up to run on the form - like you do on the main form).

     

    Unfortunately, with the Unified Interface the main form is now a navigate away from the page and only the quick create does what you want.  Not sure if there was an intention to do more entities etc but for field service Microsoft implemented a Subgrid as Modal but haven't seen any further use.

     

    (usually called a Native N:N )

  • SharonP Profile Picture
    58 on at

    Basically we have three entities Entity A and Entity B connected by N:N and entity C which is a child entity of Entity B. On create of entity B we are checking if child entity subgrid contains record(entity C). Since we cannot have subgrid in quick create we are using main form. Or can we do this validation in quick create form.

  • Fubar Profile Picture
    8,340 Super User 2025 Season 2 on at

    What is the subgrid sitting on?  (reads like it is on B but you can't populate subgrid until after create has completed and you are attempting to create B)

     

    If you have the situation where you have a Record in table X with child record C and you are associating X to another record (N:N) Z then you can check that X has C on the Associate of the X to Z via plugin triggering on the Associate.

     

     

     

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Sharon091,

    The trick is to enable quick create on the Entity B (assuming sub-grid is on Entity A). When enabled, you will not be navigated away and therefore will not get the "leave the page" popup and the record will automatically get associated after creation so users will not have to search it again.

    1. To enable quick create on an entity/table (look for "allow quick create" optoin): https://docs.microsoft.com/powerapps/maker/data-platform/edit-entities#enable-or-disable-table-options 
    2. To edit/create a quick create form: https://docs.microsoft.com/powerapps/maker/model-driven-apps/create-edit-quick-create-forms 

    Examples:
    New record of N-N:

    EricRegnier_0-1614672611389.png

     

    New record gets auto associated:

    EricRegnier_2-1614672649121.png

    Hope this helps!

  • SharonP Profile Picture
    58 on at

    Thanks Eric for your solution.

    Just wanted to check is adding + New button on native oob N:N subgrid possible through ribbon customization.

    Please see link below :

    https://community.dynamics.com/365/sales/f/dynamics-365-for-sales-forum/417899/out-of-box-n-n-entity/1144682#1144682

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    It doesn't come out-of-the-box (which I wonder why) but it might work as per the post, haven't tried it yet. Not sure though if the new record will get automatically associated to the entity (i.e Entity A) after created or you will have to associate it manually back. This would differ the purpose and easier to do it then with the "Add Existing"...

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard