Please wait, loading...

 

Show Progress Indicator (Out of the box) Microsoft Dynamics 365 CRM V9

January 16, 2018
Yesterday used a nice feature progress indicator, before we use to write custom JS to show loading progress image but now we can use new JavaScript function of the Xrm.Utility namespace : showProgressIndicator.

  • showProgressIndicator
  • closeProgressIndicator
show progress indicator (loading image)

——————————————————————————————————

function setFaxNumber() {
    Xrm.Utility.showProgressIndicator(“Loading contact Info..”);
    setTimeout(setFaxNumberafterdelay, 3000);
}
function setFaxNumberAfterDelay() {
    var phoneNumber = Xrm.Page.getAttribute(“telephone1”).getValue();
    if (phoneNumber != null) {
        Xrm.Page.getAttribute(“description”).setValue(phoneNumber);
    }
    Xrm.Utility.closeProgressIndicator();

}

———————————————————————————

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/Microsoftdynamics365.png?fit=640%2C651
Microsoft Dynamics Community Profile

Learn more