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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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