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 / Read a Relation in Com...
Power Apps
Unanswered

Read a Relation in Common Data Service

(0) ShareShare
ReportReport
Posted on by 24

I am using powerapps with Common Data Service. I have Entity Team, which has got a Relotion Team <-> Utenti (many to many) with relation name teammembership_association and entity-relation name teammembership.
I want to use this relation in code (a ClearCollect) for enter in input a user and copy in the ClearCollect the records of Team.
How to do? Are possible any examples?
Thank

 

 

I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @BlackRos ,

    Could you please share a bit more about your scenario?

    Could you please show more details about the ClearCollect(...) formula you used in your app?

    Further, do you want to save the RelationShip data into a Collection or just use the Relationship to collct data from your two Entities?

     

    If you want to save your RelationShip data ito a Collection, I afraid that there is no way to achieve your needs in PowerApps. There is also an known issue with Relationship (LookUp column) within PowerApps app -- when saving the LookUp field into a Collection, the LookUp field in the collection would not be populated with proper records.

     

    If you want to use the Relationship to collct data from your two Entities, please check and see if the following article or blog would help in your scenario:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-relate-unrelate

    https://powerapps.microsoft.com/en-us/blog/relate-records-in-many-to-many-relationships/

     

    https://www.youtube.com/watch?v=X6PaYaC1iR4

    https://www.youtube.com/watch?v=GJMpNj6-NXY

     

    Best regards,

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