
I'm experimenting with a recursive SharePoint List in PowerApps of People in an organization with a "ReportsTo" column. I'm starting with two levels when deployed might go to 3. One thing I was trying to do was access info from the selected record in the sub-gallery.
In the attached picture I'm keeping it simple, just pulling the first name of selected item in the sub-gallery of the selected main gallery. This doesn't work unless I also put a label in the main gallery pulling the first name (or actually any data) from the selected item in it's instance of the sub gallery.
The code is as follows in the label that is referencing the sub-gallery:
Gallery2.Selected.Gallery4.Selected.first
In the picture you can see the filter command for the two galleries.
It doesn't give me an error, but it does not work, unless I put a label in the main gallery pulling something from the sub-gallery.
Any thoughts?
Rick
I'm having a little trouble seeing what you are actually doing, but I think it all boils down to how you get PowerApps to pull the correct data. I would watch this video by Daniel Christian - I think it will answer your question.
https://www.youtube.com/watch?v=EnBpWBb51hs