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:
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:
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.
I hope you can help me with this problem.
Regards!
Lucas
Solved! Go to Solution.
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)
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.
@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:
Thank' you for the helping, we are near to the solution!
Cheers,
Lucas
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)
@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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
183 | |
46 | |
46 | |
34 | |
33 |
User | Count |
---|---|
254 | |
84 | |
78 | |
68 | |
67 |