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 / Gallery inside a custo...
Power Apps
Unanswered

Gallery inside a custom component is not always populated

(0) ShareShare
ReportReport
Posted on by 12
I have a container that is a popup menu that is shown when the user clicks on the menu icon.  Inside the container is a custom component that contains the gallery with the menu options.  The menu options are stored in a table in a variable set in App.OnStart (varMenuData).  The component has a MenuData Table input property that is populated from the app using varMenuData.
 
When the app loads, the menu is fine.  If I select an option and navigate to another screen, then return to the first screen, the menu gallery is blank.  The variable still shows all the data is there and the component is visible.  I placed a border around the gallery and I see it, but the gallery is not repopulating the data. 
 
I tried setting the OnReset of the data table in the component and resetting the component, but that does not fix it.  There is no reason for the gallery in the component to not repopulate.  If I make any changes to the MenuData property's formula, like add a filter to varMenuData, then the gallery loads again.
 
I also tried moving the data inside the component as an output property but the same thing happens, this time without even navigating away from the screen.  Just relaunching the app shows the gallery is blank.
 
UPDATE: I added an output property to give me the count of the gallery and the count is correct, however the gallery shows as empty.
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

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