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 / Displaying Many to Man...
Power Apps
Unanswered

Displaying Many to Many relationships between child entities in model-driven app

(0) ShareShare
ReportReport
Posted on by 21

So the example is three tables:

  • Projects: each projects has a number of documents and tags
  • Documents: a list of documents associated with a specific project
  • Tags: a project-specific custom set of tags that can be applied to documents

1:N relationship between Project records and Documents/Tags Records, but N:N relationship between Documents and Tags.

 

Currently I have a model-driven app, in which the user selects a project and can view the Documents and Tags through tabs of that form. The tabs display the selected view for the table.

I am trying to figure out, for example, when the user is viewing the Documents, how to show that user all of the Tags that is associated with each of the Documents without requiring the user to click into the specific record to open the form that can show the tag as a subgrid. Ideally, the user would be able to add tags to a document in the same place, but I assume this is not possible.

I'd really like the document view to show something similar to a Microsoft List tag column or a Choices Column, where multiple tags can be viewed that are associated with the record. It's basically like a Choices column that changes depending on the project to allow custom user tags per project.

Any thoughts on how to do this? The only idea I had was to try to create some form of automation fills a text field with a list of tags each time a tag is added to a document. I assume you can trigger on the relationship table and programmatically amend a text field somehow.


Any thoughts?

I have the same question (0)
  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @nolanfromcanada,

     

    Overall I understand your challenges here.  A couple of options:

    1.  This is a dependent sub-grid example logic which might accomplish what you are looking to do (https://vikrantsdynamicsblogs.wordpress.com/2020/07/09/sub-grid-dependent-on-another-sub-grid/

    2.  Another option might be to build a canvas app and add this to the form in the model app.  You could then display the relationships in multiple different ways.

     

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


    Thanks,


    Drew

  • nolanfromcanada Profile Picture
    21 on at

    OH DEPENDENT SUB-GRID - that is perfect (canvas could work too!)

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