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 / 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:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    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

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard