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 / Spinner no longer laun...
Power Apps
Unanswered

Spinner no longer launching

(1) ShareShare
ReportReport
Posted on by 34

I hope that someone can help me figure out what has gone wrong with my Spinner.  I made a group of controls with a spinner to launch before a series of activities that i know might take awhile, or on opening a screen.  I'm using a local variable & Update Context to set the visible property of the spinner group to true or false as necessary.  This was working as expected as far as i could tell; however, as i've since changed some code on the "on Change" property of some controls, i've noticed that the spinner doesn't launch anymore on those controls.  I have searched all of the internet trying to find a clue as to what has happened.  One post suggested that the code was running so fast that the spinner didn't have time to launch.  That's not the case as i am still trying to reduce the processing time of the code.  It's definitely slow right now so I should expect to see the spinner.  I even experimented with a timer but that was a big fail too.

 

My question is - are there any functions that impede an Update Context command from being carried out?  Does commenting out code impact the Update Context command?  I cannot figure out why the spinner doesn't get launched any more.  It works fine on simple things like Screen On Visible property and on some controls "On Select" property.  But not on the "On Change" property of some controls, which also carry out a bunch of operations, so i'm wondering if there's an operation that prevents the spinner from showing up?

 

I've also checked to make sure that the spinner group is at the front, so i know it's not running but hidden.  

 

Just wondering if this has happened to anyone else.  Judging from my google searches, it hasn't.  Which also seems odd.

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Catmarch1 

    It really depends on what you are doing on those actions.  

    For example :

       UpdateContext(...: "wait");  Refresh(dataSource); UpdateContext(...: "")

    And you'll not likely ever see the spinner as the refresh will happen in the background.

       UpdateContext(...: "wait");  Set(aVar, dataSource); UpdateContext(...: "")

    And you'll see the spinner until the variable is set completely.

     

    Moral of the above, there are some things that occur in the background (async) and others that don't (sync).

     

    I hope this is helpful for you.

  • DataWhisperer Profile Picture
    14 on at

    @Catmarch1 Hello there PowerFriend 🙂 ... I recently discovered the correct use of the spinners whether you use a local or global variables. Do you still need this? Let me know!

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard