Open Progress Indicator using Xrm.Utility in Dynamics 365 v9.0

By | January 19, 2018

Introduction:

A few months back Microsoft has announced the release of Dynamics 365 v9.0 and has come up with many cool features.

Where some of them are related to functionality while others are related to UI.

Well! The list of newly added features is quite long though not exhaustive.

Open Progress indicator using Xrm.Utility in Dynamics 365 v9.0

The one of interesting addition that we saw and which could be a boon for developers is Progress Indicator functionality. With this functionality, user can display the Progress dialog/Indicator using “showProgressIndicator” function of XRM.Utility namespace.

To achieve this previously, we need to create a web resource which contains the custom logic to display the Progress Indicator/dialog in the CRM, and then use this web resource in order to show the Progress Indicator.

Now with the release of Dynamics 365 v9.0, we can display the Progress Indicator/dialog by using out of the box “showProgressIndicator” function of XRM.Utility namespace, the syntax of the function is as given below.

Xrm.Utility.showProgressIndicator(message);

Where,

message: Is a required argument of type string, message contains the string value which is displayed while showing the Progress Indicator.

Example: Xrm.Utility.showProgressIndicator(“Processing Record”);

We used this function in our JavaScript and the working of this function is cool as seen in the below screenshot.

Open Progress Indicator using Xrm.Utility in Dynamics 365 v9.0

Note: In order to closed the above Progress Indicator we would need to call Xrm.Utility.closeProgressIndicator() of Xrm.Utility namespace.

closeProgressIndicator() function don’t have any input argument, and if there is any Progress Indicator is displayed using showProgressIndicator(arg) function, then closeProgressIndicator() closes the progress indicator otherwise closeProgressIndicator() do nothing.

So whenever a user needs to close the Progress Indicator user can use closeProgressIndicator() function.

Conclusion:

Now user can display the Progress Indicator by using out of the box function “showProgressIndicator(arg)” in Dynamics 365 v9.0.

Generate Your Own New Leads Within Microsoft Dynamics 365 CRM

Contact us for a demo to know more about how Maplytics can help you to generate new leads from within Microsoft Dynamics 365 CRM.

Maplytics is a 5-star rated, preferred business app on the Microsoft AppSource that is Certified for Microsoft Dynamics 365 (CfMD) and comes with powerful features like Appointment Planning, Sales Routing, Territory Management, Heat Maps, Geo-analytical Dashboards and more that empower organizations to add more value to their CRM data, improve sales & service processes, and achieve high ROI.

Get your free trial from our Website or Microsoft AppSource!

‘If data is the new oil, location intelligence is ??”