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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Nested Galleries + Edi...
Power Apps
Answered

Nested Galleries + Edit Form using Dataverse

(0) ShareShare
ReportReport
Posted on by 27

Hello!

 

i'm having some trouble with nested galleries and editing forms. 

 

I have 2 tables, one for buildings and other (the fact table) with dates and progress, all in Dataverse tables with a One to Many relationship by the ID of the buildings.

 

Inside the app, i have:

 

  • Gallery 1 (table 1 - Buildings) connect to my Form 1 in edit mode, that works perfect, i can choose form the gallery and edit the fields. Form 1: DataSource = Table 1 and Items = Gallery1.Selected

 

  • Gallery 2 (table 2 - Dates and Progress)  connect to my Form 2 in edit mode, that also works perfect, i can choose form the gallery and edit the fields. Form 2: DataSource = Table 2 and Items = Gallery2.Selected

 

That's works fine, buy i want to use ONLY ONE gallery to filters both edits form at the same time.

 

Here's a picture of the app with 2 galleries and 2 edit forms:

 

LucasCorsinoPAE_0-1653670938679.png

I tried using nested galleries, but when i put Items = ChildGallery.Selected that's didn't work.

 

Here's with a only 1 gallery (main gallery + nested gallery) and the 2 edit forms. But didn't work.

LucasCorsinoPAE_1-1653671679704.png

 

I hope you can help me with this problem.

 

Regards!

Lucas

 

 

 

 

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @LucasCorsinoPAE ,

     

    A way to make this work might be to set the OnSelect property of the child gallery to:

     

    UpdateContext({varChild:ThisItem})

     

    This variable can then be linked to Form2 by setting is as the Item property.

  • LucasCorsinoPAE Profile Picture
    27 on at

    @BCBuizer Thank's for your answer, it's wotks fine in a text box but didn't work as a Item Property in my Edit Form 2.

     

    My Edit Form have a lot of dropdowns vinculated to the columns of my fact tables with options (previously created in Dataverse).

     

    For my dropdowns i use this type of code: Choices('Baja (Table2)')

     

    Here's the pic of the problem:

     

    LucasCorsinoPAE_0-1653676436306.png

     

    Thank' you for the helping, we are near to the solution!

     

    Cheers,

    Lucas

     

  • Verified answer
    BCBuizer Profile Picture
    22,505 Super User 2025 Season 2 on at

    Hi @LucasCorsinoPAE,

     

    I meant to set the Item property for varChild only, without anything after that.

     

    However, it seems you have a 1:1 relationship between the two lists. Can you confirm?

     

    I that is the case, there is no need for any second gallery, nested or not, because you can use a lookup in the Item property instead:

     

    LookUp(Table2, ID = Gallery1.Selected.ID)
  • LucasCorsinoPAE Profile Picture
    27 on at

    @BCBuizer Yes, for now the relationship is a 1:1 from the main table to the fact table.

     

    Your solutions works fine! Thanks for your time!

     

    Cheers,

    Lucas

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard