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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (910)