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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Arrow icon stays disab...
Power Apps
Unanswered

Arrow icon stays disabled when I Play my PowerApp

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Arrow.jpg

 

Here is the rule:

 

If CountRows(Employee_Gallery_1.AllItems) > 0, disable the arrow. Else, the arrow should be in edit view. It works in the studio, but not when users play the app.

Categories:
I have the same question (0)
  • KroonOfficeSol Profile Picture
    587 on at

    @Anonymous 

     

    So this is your formula:

    If(CountRows(Employee_Gallery_1.AllItems) > 0, DisplayMode.Disabled, DisplayMode.Edit) 

    Correct?

    Then add a label. On the Label.text you put CountRows(Employee_Gallery_1.AllItems). Run the app to check whether the label shows the number of Items in the gallery. If so the formula should work as expected. This is to check if your formula is valid.

     

    Still not working, then as a test try to connect the formula to the Value(Label.Text)>0

    Hope this helps you solving your problem.

     

    Paul

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @KroonOfficeSol Thanks for the info, but the formula works in the Studio, but does not work at web.powerapps.com. That's really my issue - why the rule isnt working when you Play the app there.

  • KroonOfficeSol Profile Picture
    587 on at

    @Anonymous You ask a question and get an answer which maybe gets you to fix the issue you have. It's your choice to try the suggestions or not, this is totally up to you. But let me tell you that my experience is that nine out of ten times the issue is not with the solution, but with an error of the programmer. Basically, your reply won't bring you very far in mastering PowerApps.

  • Pstork1 Profile Picture
    69,541 Most Valuable Professional on at

    The basic issue revolves around PowerApps being a declarative programming environment rahter than a procedural one.  In my experience you can't directly change the properties of objects interactively at runtime.  The development studio has a lot of extra logic built in to the editor to adapt to changes that you are making while editing. I suspect that's why it works in the design studio but not in the player.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard