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 / Loading Screen Delay
Power Apps
Unanswered

Loading Screen Delay

(2) ShareShare
ReportReport
Posted on by 196
Hello,
 
Need some advice, I have a Welcome screen and I have  background image linked to a sharepoint image library. Also, on that screen I have some components like buttons etc
 
In the onstart, I have set the backround image to pick a random image from the collection - 
Set(varbackgroundimages,'Background Images');
ClearCollect(colBackgroundImages,ShowColumns(varbackgroundimages,Image));
Set(varRandomBackgroundImage,First(Shuffle(colBackgroundImages)).Image0.Full);
 
 
All works fine expect the components load faster than the image so I though about adding a timer or spinner and then also tried a new screen with a timer and loading image and on timer end, navigate to the welcome screen but even then its still slightly slow, any ideas to get the components and background image to load at the same time?
 
Thanks
 
Ross
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
     
    1. Is your OnStart set to Async?
    2. Move stuff to OnVisible
    3. My real Suggestion is to create an Overlay that is over the ENTIRE screen it makes it so you cannot see the back ground/controls until after its actually Visible.
     
    Think of it like, you need to load lots of data, but the controls are showing... but they are empty and then bingo 25 seconds later data appears. its terrible.
     
    So give your screen time to really load, then remove the cover image.
     
    Problem and experience solved.
  • BhargavPatel Profile Picture
    660 Moderator on at
    @rosscortb Please try this:
     
    Set the Visible property of all the components to varIsVisible

    Update the OnStart property of the app to:
    ​
    Set(varIsVisible,false);
    Set(varbackgroundimages,'Background Images');
    ClearCollect(colBackgroundImages,ShowColumns(varbackgroundimages,Image));
    Set(varRandomBackgroundImage,First(Shuffle(colBackgroundImages)).Image0.Full);
    Set(varIsVisible, true);
     
    Alternatively, instead of messing with Visible property of all controls, you can place a spinner control to cover the whole screen.
    Set its Visible property to varIsVisible, and change to OnStart property of the app to:
     
    ​
    Set(varIsVisible,true);
    Set(varbackgroundimages,'Background Images');
    ClearCollect(colBackgroundImages,ShowColumns(varbackgroundimages,Image));
    Set(varRandomBackgroundImage,First(Shuffle(colBackgroundImages)).Image0.Full);
    Set(varIsVisible,false);
    
    ​

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard