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 / Model Driven App - Bul...
Power Apps
Unanswered

Model Driven App - Bulk edit Many to Many

(0) ShareShare
ReportReport
Posted on by 7

Hi Community!

 

I have a model driven app with two tables only. There is a many-to-many relationship between these tables, and I am looking for an efficient way to associate / disassociate records from Table A to Table B.

Currently I do have a simple form created for Table A with a sub grid showing Table B – this of course only allows to edit one record at a time. My dream state is that select several records in Table A and link these with just a few clicks to a selection or all records from Table B.

I know that there is a XRM Toolbox add-in allowing to do this, but I want to deliver this piece of functionality directly for the users in my model driven app. Anyone able to provide some directions? Thanks very much!!

 

Best regards,

Stefan

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    This is already a capability for N:N relationship subgrids:

    • From the subgrid, you can select multiple rows and click Remove to remove them all at once
    • (again from the subgrid) In the panel opened by the Add Existing button, you can select multiple rows and click Add to add them all.
  • schdaef Profile Picture
    7 on at

    Thxs! I am aware of the basic features you get with N:N relationships and subgrids, but what I was asking for is beyond that. Here is a pic that helps explain again in more details:

    stef2_0-1625475828231.png

    -> I want to select several records in Table A and assign several records from Table B in one operation.

     

    Hope this is clearer now? Any advice on that? 

     

    Thanks much againg!!

  • cchannon Profile Picture
    4,702 Moderator on at

    Yeah, there is really no OOB mechanism for doing this, you would need to build your own UI for it. You could do that in a PCF by building a dataset control that uses fluent UI details lists to put the two sets of records side-by-side for selecting and linking. 

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @stef2 ,

     

    Check out the following PCF control which might come in handy here...

    https://pcf.gallery/nndropdown/

     

    Hope this helps.  Please accept if answers your question or Like if helps in some way.


    Thanks,


    Drew

  • schdaef Profile Picture
    7 on at

    Hi Drew! Thanks for your response - an interesting control, but I am struggling to understand how it could solve my problem of selecting several records in Table A and assign several records from Table B in one bulk operation. Am I missing something?

     

    Thxs,

    Stefan

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @stef2 

     

    Sorry, you are right, it is still a "select one Record A" and it provides a quicker way to select multiple of Record B.

     

    This would need to be something custom either through PCF or through an embedded Canvas App...

     

    Thanks,


    Drew

  • Odidepse Profile Picture
    16 on at

    Did you manage to come up with bulk edits on many to many scenario? Cheers

  • SvenD09 Profile Picture
    2 on at

    Did you find a solution? I face the same requirement.

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