on ‎2023 Jan 03 9:56 AM
Request clarification before answering.
Dear devenderkumar,
please have a look at the developer handbook chapter 5.20.
You can either enable the busy indicator via the design panel, than the busy indicator is automatically shown in case a script runs longer than the time set in Loading Indicator Delay.
If you don't want to enable the busy indicator to always show up for long running scripts you can enable the busy indicator at the beginning of your script and disable it at the end. It doesn't matter if you trigger your script via a button or an event.
For example in our case, we enable the busy indicator by default and just change the shown text of the busy indicator at the beginning of the script (in this case the onInitialization event):
If you want to enable the busy indicator you just need to change the code to:
Application.setAutomaticBusyIndicatorEnabled(true);
' perform your code
Application.setAutomaticBusyIndicatorEnabled(false);
I hope this answers your question
Best regards
Susanne
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.