cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Entity Connections

Hello all,

 

I am trying to understand how entities connect in order to connect them together as records. I essentially want to have a Record "A" that has the blue lookup field that connects to Record "B" in a different entity. Then again from Record "B" I want to be able to click on the lookup field that connects to Record "C", again another entity, and so on. 

 

Thank you for your help.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Entity Connections

Hi @Anonymous ,

Firstly, yes, you could use a lookup field in entity A to filter records in entity B.

Secondly, look up field could only connect with two entities with 1:M relationship.

So based on your demands, you need to create this kind relationship:

1)entity A to entity B :    1:M relationship

2)entity B to entity C:     1:M relationship

3)entity C to entity D   .....

Please note that: after you create 1:M relationship successfully, the lookup field will generate automatically in the "Many" entity.

(entity B has a lookup field that looks up to entity A,

entity C has a lookup field that looks up to entity B .....)

 

You could use this way to filter one by one:   (for example, I have 4 entities:  A B C D)

1)insert 4 drop downs

2)set drop down 1's Items:

entity A

set drop down 2's Items:

Filter(entity B,lookup field=drop down 1.Selected)

set drop down 3's Items:

Filter(entity C,lookup field=drop down 2.Selected)

set drop down 4's Items:

Filter(entity D,lookup field=drop down 3.Selected)

 

Then, entity B will be filtered based on selection of entity A.

Entity C will be filtered based on selection of entity B.

Entity D will be filtered based on selection of entity C,......

 

Here's a doc about relationship in CDS for your reference:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/create-edit-1n-relationships-portal

 

Best regards,

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Entity Connections

Hi @Anonymous ,

Firstly, yes, you could use a lookup field in entity A to filter records in entity B.

Secondly, look up field could only connect with two entities with 1:M relationship.

So based on your demands, you need to create this kind relationship:

1)entity A to entity B :    1:M relationship

2)entity B to entity C:     1:M relationship

3)entity C to entity D   .....

Please note that: after you create 1:M relationship successfully, the lookup field will generate automatically in the "Many" entity.

(entity B has a lookup field that looks up to entity A,

entity C has a lookup field that looks up to entity B .....)

 

You could use this way to filter one by one:   (for example, I have 4 entities:  A B C D)

1)insert 4 drop downs

2)set drop down 1's Items:

entity A

set drop down 2's Items:

Filter(entity B,lookup field=drop down 1.Selected)

set drop down 3's Items:

Filter(entity C,lookup field=drop down 2.Selected)

set drop down 4's Items:

Filter(entity D,lookup field=drop down 3.Selected)

 

Then, entity B will be filtered based on selection of entity A.

Entity C will be filtered based on selection of entity B.

Entity D will be filtered based on selection of entity C,......

 

Here's a doc about relationship in CDS for your reference:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/create-edit-1n-relationships-portal

 

Best regards,

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

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,257)