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 / Component is unstable ...
Power Apps
Answered

Component is unstable when using gallery

(1) ShareShare
ReportReport
Posted on by 41
I created a reusable component in the component library and added it to a Canvas app. There is a gallery inside the component to display some information with a collection as an input property. However, sometimes the gallery just doesn't work. I have an output property named "total item" with the value of `gallery.AllItemsCount`. When the component isn't working, the output property disappears. I checked the output property of the component and found that the gallery has data, but it just isn't rendering.

How can I overcome this problem?
Categories:
I have the same question (0)
  • TuongDoan Profile Picture
    573 Moderator on at
    Make sure that your component and host app have the same settings, such as the New Analysis Engine and Authoring version...

    I recommend turning off the new analysis on both sides, adding the component to the canvas app, then saving and restarting before using it.
     
    Give it a try and let me know if it works.
     
    ---------------------------
    If the solution works, please kindly ✅ check the box "Does this answer your question?" on the bottom left! This will help others in finding the solution more expediently 😄 Also, a Like would be a great compliment!
     
     
  • AsherNg1990 Profile Picture
    41 on at
     The issue persists. Any other ideas?
  • Suggested answer
    TuongDoan Profile Picture
    573 Moderator on at
    Do you have any boolean output related to that gallery? That might be the problem. I've encountered this issue before, and removing the boolean value seems to be the only solution. To control the component, just use CountRows() with your output AllItemsCount.
     
    ---------------------------
    If the solution works, please kindly ✅ check the box "Does this answer your question?" on the bottom left! This will help others in finding the solution more expediently 😄 Also, a Like would be a great compliment!
  • Verified answer
    AsherNg1990 Profile Picture
    41 on at
    Hey! It's working!

    I have a boolean property to determine whether the component has data or not to control visibility. Using CountRows() instead of the output boolean did help!

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard