web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How can I create one e...
Power Apps
Unanswered

How can I create one edit form in SharePoint online that contains items from a parent-child relationship?

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I have a parent-child relationship.  I have the parent modeled as one list and the children modeled in another list with a lookup field referencing the parent.

 

I want to create one edit form for the parent that contains all the parent's fields, plus a list of all the children with the ability to either add new children or remove children.  How can I accomplish this?

 

Thanks for your help.

 - Ed.

Categories:
I have the same question (0)
  • dyee4614 Profile Picture
    283 on at

    I'd do this outside of a form.  I'd just add all the questions in a gallery and then use the patch field to send it to each individual form.  It would look something like this.

     

    Q1 - Parent

    Q2 - Parent

    Q3- Parent

    Q4 - Child

    Q5- Child

     

    Patch(ParentList,Defaults(ParentList), 
    {FieldName: Q1.Text,
    FieldName2:Q2.Text
    FieldName3: Q3.Text})

    Patch(ChildList,Defaults(Childlist),
    {FieldName: Q4.Text

    FieldName2: Q5.Text})

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the reply.  I don't think I was clear enough in my o.p.  I'm envisioning something like this:

     

    edhalsim_0-1595005262107.png

     

    The "Title" field is from the parent list, while the list of items beneath it is a list of children items that can be added or removed as desired, all on one form.  This screenshot was taken from a 3rd. party tool, but I'd rather do it natively.

  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    I would look over this set of videos: 

    https://m.youtube.com/watch?v=xgznk4XlPCo

    That will show you how to add multiple children and keep track of them. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard