[TIPS] Progress Dialog in Model-driven App

 [TIPS] Progress Dialog in Model-driven App 

Reference: 1

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.

Syntax

Xrm.Utility.showProgressIndicator(message)

Parameters

NameTypeRequiredDescription
messageStringYesThe message to be displayed in the progress dialog.

 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.


Example: 






No comments:

Post a Comment