cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Power Participant
Power Participant

Showing related Many to Many entity as datasource in PowerApps

I have an Entity Teacher which has many to many relationship with another Entity called Student.

I am embedding the app in the Model Driven of Entity Teacher. In the embedded app, I want to display list of students from the recordid of Teacher.


I created a gallery where list of students are shown and set the Item in gallery as 

ModelDrivenFormIntegration.Item.Students

which I think should have work but is not showing anything.

 

I tried to LookUp Teacher with the record Id from item and tried this as well

LookUp('Teachers', new_teacherid = ModelDrivenFormIntegration.Item.teacherid).Students

I even tried using guid

LookUp('Teachers', new_teacherid = GUID("ffdea424-e5a2-e911-a96a-000d3a4e75ec")).Students

It gives on loading forever.

 

FYI: The student entity has around 150 fields.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Power Participant
Power Participant

Started working so no more an issue.

ModelDrivenFormIntegration.Item.Students

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Hi @summitb ,

 

Check if below blog could help:

https://baizini-it.com/blog/index.php/2017/10/10/powerapps-101-many-to-many-relationships-between-ta...

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Anonymous
Not applicable

Hi @summitb how are you progressing with this? Was the above reply helpful?

 

@Anonymous 

Highlighted
Power Participant
Power Participant

Started working so no more an issue.

ModelDrivenFormIntegration.Item.Students

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,073)