With the release of Dynamics 365 v9.0, lots of new features & updates has come which will increase the ease and efficiency of the work of CRM Developers.
Today, I will share some knowledge on how to use the showProgressIndicator function of the Xrm.Utility namespace.
Many a times, CRM takes some more time to execute a function, may be on save event of form or on a button click event or on change event of a control etc.
Till now there wasn’t a proper out-of-the-box way to indicate the user that some background process is going on, and the user must be prevented from making any changes.
Note:- This popup will not be having any button on it. You need to close the popup using the closeProgressIndicator function of the Xrm.Utility namespace.
The ‘Xrm.Utility.showProgressIndicator(“Loading fax number..”);’ will show a popup as below:-
The setFaxNumberAfterDelay function will set the fax number on the Account form and the Xrm.Utility.closeProgressIndicator() within it, will close the popup that was opened by the showProgressIndicator function.
The showProgressIndicator & the closeProgressIndicator functions of the Xrm.Utility namespace are really very helpful, when you need to indicate the user that some background processes are going on and for preventing the user from making any changes in the form at that time.
I Hope this helps you…
Insert data into Many-to-Many relationship in Dynamics CRM very easily & quickly, using the Drag and drop listbox.
© All Rights Reserved. Inkey Solutions 2019