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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / In Powerapps : How Ent...
Power Apps
Unanswered

In Powerapps : How Entity 'Web roles' and 'Contact' are linked with each other? What is the common field between these two entities.

(0) ShareShare
ReportReport
Posted on by 121

Hello,

 

I am new to Power apps, I am using the gallery component in which I wanted to list down all the contacts from the 'Contact' entity along with the Web role (from 'Web roles' Entity) for each of the contact.

But I am not sure, which is the common field between these two entities.

 

I am using the following code,

ThisItem.'Full Name' & LookUp('Web Roles','Web Role'=ThisItem.Contact,Name)

 

Help is appreciated !!!

 

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @praneshJ :

    'Web roles' doesn't seem to be a standard entity(There is no'Web roles' entity in my CDS database), do you give me a screenshot like this?

    1.JPG

    In addition,if you want to establish a mapping between records between two interrelated entities:

    Firstly, mapping between related entities does not use primary keys or foreign keys.

    In the case of a One-to-many relationships, the Look up field will be created on the related entity Instead of using primary keys or foreign keys.

    The value stored in Lookup field is the ID of the associated record

    Secondly, there are many ways to establish a mapping between records between two interrelated entities:

    I will introduce you to the two most common methods:

    Method1:Using Relate function.(Canvas App)

    I think this link will help you a lot:

    Relate and Unrelate functions in Power Apps

    Method2:Using Edit record function.

    the relationship between Account and Contact  is 1:N

    Step1:Data-Entities-your main entity-data-Edit record

    1.JPG

    Step2:Related-related entity

    2.JPG

    Step3:Add New XX or Add Existing XX

    *Contact is my related entity

    3.png

    Best Regards,

    Bof

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard