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 / Get value from Parent ...
Power Apps
Unanswered

Get value from Parent Gallery in the child gallery

(0) ShareShare
ReportReport
Posted on by 1,146

Thank you for taking the time to read my question.

 

I have a parent gallery with a collection as it's data source. I have  nested gallery that has a different collection as it's data source.

 

When the users select a value from the child gallery, it is added to another collection. I want to be able to record the Name of the parent value so that I can relate the selected child values to it. In other words I want to create a one to many. Then when the user is done I can loop through the parent collection and find all the related child items and patch them.

 

===============

Parent Name 1

    -------------------------

    Child item 1 (Selected)

    Child item 2

    -------------------------

===============

Parent Name 2

   -------------------------

    Child item 1 (Selected)

    Child item 2 (Selected)

    -------------------------

===============

Parent Name 3

    -------------------------

    Child item 1

    Child item 2 (Selected)

    -------------------------

===============

 

The collection would look something like

Parent Name 1, Child item 1

Parent Name 2, Child item 1

Parent Name 2, Child item 2

Parent Name 3, Child item 3

 

I don't understand how to get the Parent Name when I save the selected value in the child gallery

 

If I'm going about this all wrong, please point me in the right direction.

 

Thanks!

Categories:
I have the same question (0)

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard