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 / Best Practices for Par...
Power Apps
Answered

Best Practices for Parent->Child Forms

(0) ShareShare
ReportReport
Posted on by 57

My app is starting with a simple screen showing all the customers in a SQL connection.  It's only showing 3 fields

 

Company, Contact, AccountNo (The unique ID, which is hidden).

 

I want to click that record and naviage to the Customer Detail screen which displays (no edit) the details of the record.  What is the most efficient way of doing that without creating multiple connections to the same data set.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    rgruian Profile Picture
    Microsoft Employee on at

    The most straightforward and efficient way of doing that is using a form on your second screen. Please see the structure of an app auto-generated from data. That has some of the same behavior you are looking for, and it provides a model of how things should be wired up.

     

    on Screen1:

    gallery1.Items = Customers

    gallery1.navButton.OnSelect = Navigate(Screen2, Fade)

     

    on Screen2:

    form1.DataSource = Customers

    form1.Item = gallery1.Selected

     

    You will have to configure the form to specify which fields to show.

     

  • WAstarita Profile Picture
    57 on at

    Perfect.  That was exactly what I was looking for.  I was not aware of what the Item property was used for in the Form Context.

     

    Thank you

  • WAstarita Profile Picture
    57 on at

    Perfect.  That was exactly what I was looking for.  I was not aware of what the Item property was used for in the Form Context.

     

    Thank you

  • CW Profile Picture
    1,044 on at

    All very well but there's no mention of having to create a collection then how to post back to the collection using a patch function. In the real world we dont just look at data we interact with it, edit it, add, delete etc.

     

    Got any of those examples?

  • NPrice99 Profile Picture
    1,302 on at

    Any news on this ?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard