Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Parent-Child (about 2 Entities)



Working on 2 Entities:




I created a relationship from Week to WeekItems and vice versa and using the auto generated app by importing the entity "Week", I get 3 screens of course. I want to make one more screen about displaying the WeekItems that belong to the selected week, and then one more screen about navigating over the WeekItem. It works with filters at the new browseGallery (choosing for display only the items that have the same WeekID as the selected one-I pass the selected value using a variable) but it's too complicated if then I want to connect more entities. Is there any parent-child relationship so that I can display all the WeekItems that belongs to the selected Week without filtering?

Frequent Visitor

Re: Parent-Child (about 2 Entities)

Yes. This is possible but you have to look into creating of screens manually and wire them to filter dataset based on selected item from Week selected. Read more on Filter() function for parent child type of UI. I have done one app where i am showing clients as master list and then contacts below in child list as we change client on parent list.

Frequent Visitor

Re: Parent-Child (about 2 Entities)

Well, that's functional but when I want to compare the Selected Week_ID with the Week_ID of all the Week Items (so that to display only those which have the same ID) I cannot use the Week_ID of the Items because it's a lookup and the filter function gives me blue dots and a blue mark.

So I created one Variable named Week_copyID, which copies the Week_ID when the user submits the form of a new item.

The filtering is working properly but I have a problem in copying the Week_ID (I filled it manually just to check that it works).


At the EditFormOfWeekItems>SubmitIcon>Action>OnSelect I put this funcion so that to copy the Week_ID to the Week_copyID


UpdateContext({WeekItem.Week_copyID: EditForm1.Selected.Week_ID}); SubmitForm(EditForm1)


But it gives me an error at the UpdateContext and I cannot fix it. Is there any other way to make it work?

Frequent Visitor

Re: Parent-Child (about 2 Entities)

UpdateContext({WeekItem.Week_copyID: EditForm1.Selected.Week_ID}); SubmitForm(EditForm1) is not valid use and it will not work

Helpful resources


New Return to Workplace

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

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

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


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,607)