cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ChrisHH
Advocate II
Advocate II

Screen new property 'LoadingSpinner'

Hey, just found this new property in 'Screen - Advanced' yet there is no documentation yet, any ideas on how to use?

 

 

44 REPLIES 44
winj945
Helper I
Helper I

Same question from my site. @Ajithnair621 , did you find any solution for the use of those properties?

No matter if I set LoadingSpinner.Data or LoadingSpinner.Controls to the LoadingSpinner property of my screen, nothing happens. What's the trick there?

An alternative to this is to Hide or Unhide the Loader image based on a variable.
Create a variable with initial value as 'false'. It would be updated true when a particular activity happens (Navigate). When the new screen loads make it 'false'.

https://matthewdevaney.com/power-apps-loading-spinners-saving-spinners-and-progress-bars/


For explanation on why the loading spinner does not work, please refer below link. I had found the below issue after going through multiple community blogs.
Solved: Loading Spinner on Button Click - Power Platform Community (microsoft.com)

Thank you for your answer!

I think this is a valid approach, which I use in different situations as for instance on submitting a form. On a button, i set OnSelect = UpdateContext({vis: true});; Submit(Form1) and on Form1.OnSuccess/OnFailure = UpdateContext({vis: false}). And the visibility of my preloader component is set to vis. This is easy, as there is no doubt about when to show the preloader and when to hide. However, what would be the approach to hide the preloader at the moment when a screen is fully loaded? (As I don't know, when this is - right?). I know when to show the preloader (Screen.OnVisible) but when to hide ...

Regards and thank you in advance!

Example: Hide it (assign variable as 'false') when the new screen loads - OnVisible.

You can improvise it further.

@Ajithnair621 , could you give further explanation?

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,876)