showProgressIndicator (Client API reference)
Displays a progress dialog with the specified message.
Any subsequent call to this method will update the displayed message in the existing progress dialog with the message specified in the latest method call.
Note
Although the showProgressIndicator function is synchronous, the UI updates asynchronously. This means that any code synchronously executed immediately after calling showProgressIndicator may execute before the progress indicator is shown in the UI.
Warning
The progress dialog blocks the UI until it is closed using the closeProgressIndicator method. So, you must use this method with caution.
Syntax
Xrm.Utility.showProgressIndicator(message)
Parameters
Name | Type | Required | Description |
---|---|---|---|
message |
String | Yes | The message to be displayed in the progress dialog. |