Application.ShowLoader

Answered
0
0

Hi WiseJ team! I have a (hopefully) simple question about the Application.ShowLoader.

In code I use:

Application.ShowLoader = True

Application.Update(Me)

DoHeavyStuff()

Application.ShowLoader = False

Because I expect some functions or subs to require more then 200ms processing time. The idea is obviously to show the loader while the application is busy and this works great while debugging on my dev pc, however, this does not work when it is published. Instead of imidiatly showing the loader it takes a few seconds.

I have not set the loaderTimeout in the Default.json file but have set the showLoader to false (because I don’t want that to show when a client browses to the website).

How can I make sure the loader shows imidiatly when I want it to?

Thanks in advance!

Vincent

  • You must to post comments
Best Answer
0
0

Hi Vincent,

Can you please double check if WebSocket is enabled on your server environment?

It’s a feature that you need to install if you’re running on Windows Server, it does not come out of the box with IIS.

Best,
Alaa

//

  • You must to post comments
0
0

Hi Alaa,

Thanks for the easy answer! It was indeed not installed. After installing it worked like a charm! Also, it feels as if the application is now more responsive too.

Vincent

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.