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 Pages / Editable child records...
Power Pages
Answered

Editable child records grid

(0) ShareShare
ReportReport
Posted on by 48

Hi.

I have a list in Power Pages and an edit button for table A.
If I click the edit button, it opens the form for Table A, which is a sub-grid associated with Table B.
I would like to make this sub-grid editable, but the only option I have found is to add another edit button to the sub-grid form and create another form for table B.

Is there any option to make this sub-grid editable instead of creating another form and opening another window?

 

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,425 Most Valuable Professional on at

    You don't need to have it as a separate window, when adding the Option to the Subgrid (via Metadata), instead of selecting Web Page, you can select a Basic Form. This will open as a Pop-up/Modal instead of a separate page.

     

    If you want an editable grid/inline editing, you can enable that in the back-end. But my experience with that isn't the best, I tried it recently and it wasn't stable.

  • hubjes Profile Picture
    48 on at

    Thanks for your response.

    Yes I added type 'Subgrid' in Basic Form Metadata:

    hubjes_0-1712670605497.png

    But from the user's perspective, I see my form first:

    hubjes_1-1712670745324.png

    Then, when I click the Edit button, I see my subgrid in the pop-up window:

    hubjes_2-1712670816921.png

    And what I want to achieve is to be able to edit the data in this pop-up window, the data is linked to the parent record in my form. Instead of clicking another Edit button and opening another pop-up window, like this:

    hubjes_3-1712670984300.png

    Do you think this is achievable?
    To make it simpler, I just want to have a form where when I click edit it will allow me to edit records from another table, related to my selection.

  • Verified answer
    oliver.rodrigues Profile Picture
    9,425 Most Valuable Professional on at

    Hi, unfortunately you can't achieve that with OOB components as each form is related to a specific table.
    Technically speaking you can use the WebAPI to achieve this, but it will involve custom code.

    To be honest, this is not a common issue, most customers understand the concept of parent/child record and that they should be editing the data in each one's context.

  • hubjes Profile Picture
    48 on at

    Thank you.
    I achieved this by using Liquid and WebAPI.

    So what is a good practise to do this type of task?
    Should I change my data structure some kind?

    For me a possibility to edit child records is pretty common need.
    Sorry for so many questions but I would like to understand it better.

  • oliver.rodrigues Profile Picture
    9,425 Most Valuable Professional on at

    So what is a good practise to do this type of task?

    • review permissions and make sure you are not exposing extra data
    • if that's the only page you are using WebAPI, make sure to reference your API wrapper only in that page/form to minimize the exposure of it
    • use common functions / generic JS code where applicable

    basically the same good practices as any other customization within Power Pages

     

    Should I change my data structure some kind?

    • if your child table will have a fixed number of records, you could consider creating fields in the parent table, for example: Parametry1 Parametry2 Parametry3
    • I personally don't like that approach, but it might solve your problem

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 Pages

#1
Hammed Profile Picture

Hammed 22

#2
Lucas001 Profile Picture

Lucas001 21 Super User 2026 Season 1

#3
DP_Prabh Profile Picture

DP_Prabh 19

Last 30 days Overall leaderboard