Skip to Content

How to make the Fiori launchpad busy while an application is loading?

Hi,

I have a Fiori launchpad and when user presses on the tile of my SAPUI5 worklist application to run it, in the background it is loading files but it shows an empty page for the user for at least 5 to 10 seconds. Something like the following picture.

It drives my users crazy as they don't know some errors happen or something is loading in the background. Specially does users who don't know about developer section of the browser.

Please note this page is before loading the App view. It seems it is Component container.

The question is, how can I show a waiting or loading sign in this stage to inform user something is downloading?

Thanks in advanced.

capture.png (79.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jul 02, 2019 at 01:45 PM

    I needed just use sap.ui.require instead of sap.ui.define to make the page acync loading and solve the problem of running busy indicator.

    https://www.youtube.com/watch?v=Yls62sVnins

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 15, 2019 at 04:15 AM

    Hi

    Mahdi Jaberzadeh Ansari, Please use the Busy indicator.

    Go through the below link for busy indicator.

    Busy indicator

    busy indicator

    BR,

    Arun Mathew

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 15, 2019 at 08:49 AM

    Hello,

    the shell control itself provides a loadingScreen that blocks the whole Fiori Launchpad.

    Open it by calling:

    sap.ushell.Container.getRenderer("fiori2").shellCtrl.openLoadingScreen();

    Close it by calling:

    sap.ushell.Container.getRenderer("fiori2").shellCtrl.closeLoadingScreen();
    

    Currently it is not documented in the ui5 sdk, but if you play around in the browser console, you'll find it quickly.

    Best regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.