cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sevsep
Helper I
Helper I

Model-driven app form fields - parent and child relationships

Hello everyone,

 

I wanted to know if I can create a relationship between parent and child elements say for example on a lookup field. If I select parent 'X' than all child 'X' options will appear, and if I select parent 'Y' all of child 'Y's options will appear. 

 

If this is unclear I will I further elaborate.

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @Sevsep ,

Could you please share a bit more about your scenario?

Do you want to edit an parent record, then all related child records would be shown up within the LookUp field?

 

Based on the needs that you mentioned, I think the "Related Records Filtering" option for the LookUp field in your Entity form in classic experience mode could achieve your needs.

 

The user @ghdunn has faced similar issue with you, please check my response within the following thread:

https://powerusers.microsoft.com/t5/Common-Data-Service-for-Apps/Cascading-filters-to-guide-foreign-...

 

Also please check and see if the following blog would help in your scenario:

https://www.arbelatech.com/insights/blog/how-to-filter-lookups-without-custom-code-in-dynamics-365-c...

https://carldesouza.com/filtering-lookup-fields-in-dynamics-365/

 

Best regards,

Community Support Team _ Kris Dai
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

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @Sevsep ,

Could you please share a bit more about your scenario?

Do you want to edit an parent record, then all related child records would be shown up within the LookUp field?

 

Based on the needs that you mentioned, I think the "Related Records Filtering" option for the LookUp field in your Entity form in classic experience mode could achieve your needs.

 

The user @ghdunn has faced similar issue with you, please check my response within the following thread:

https://powerusers.microsoft.com/t5/Common-Data-Service-for-Apps/Cascading-filters-to-guide-foreign-...

 

Also please check and see if the following blog would help in your scenario:

https://www.arbelatech.com/insights/blog/how-to-filter-lookups-without-custom-code-in-dynamics-365-c...

https://carldesouza.com/filtering-lookup-fields-in-dynamics-365/

 

Best regards,

Community Support Team _ Kris Dai
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

@v-xida-msft 

 

Perfect thank you!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,711)