{"id":11065,"date":"2018-01-19T17:20:55","date_gmt":"2018-01-19T11:50:55","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=11065"},"modified":"2022-09-02T15:53:56","modified_gmt":"2022-09-02T10:23:56","slug":"open-progress-indicator-using-xrm-utility-in-dynamics-365-v9-0","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2018\/01\/open-progress-indicator-using-xrm-utility-in-dynamics-365-v9-0\/","title":{"rendered":"Open Progress Indicator using Xrm.Utility in Dynamics 365 v9.0"},"content":{"rendered":"<h2 style=\"text-align: justify;\"><strong>Introduction:<\/strong><\/h2>\n<p style=\"text-align: justify;\">A few months back Microsoft has announced the release of Dynamics 365 v9.0 and has come up with many cool features.<\/p>\n<p style=\"text-align: justify;\">Where some of them are related to functionality while others are related to UI.<\/p>\n<p style=\"text-align: justify;\">Well! The list of newly added features is quite long though not exhaustive.<\/p>\n<p style=\"text-align: justify;\"><strong>Open Progress indicator using Xrm.Utility in Dynamics 365 v9.0<\/strong><\/p>\n<p style=\"text-align: justify;\">The one of interesting addition that we saw and which could be a boon for developers is <strong>Progress Indicator <\/strong>functionality<strong>. <\/strong>With this functionality, user can display the Progress dialog\/Indicator using \u201c<strong>showProgressIndicator<\/strong>\u201d function of <strong>XRM.Utility <\/strong>namespace.<\/p>\n<p style=\"text-align: justify;\">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.<\/p>\n<p style=\"text-align: justify;\">Now with the release of Dynamics 365 v9.0, we can display the Progress Indicator\/dialog by using out of the box \u201c<strong>showProgressIndicator<\/strong>\u201d function of <strong>XRM.Utility <\/strong>namespace, the syntax of the function is as given below.<\/p>\n<h2 style=\"text-align: justify;\"><strong><em>Xrm.Utility.showProgressIndicator(message);<\/em><\/strong><\/h2>\n<p style=\"text-align: justify;\">Where,<\/p>\n<p style=\"text-align: justify;\"><strong>message<\/strong>: Is a required argument of type string, message contains the string value which is displayed while showing the Progress Indicator.<\/p>\n<p style=\"text-align: justify;\">Example: Xrm.Utility.showProgressIndicator(&#8220;Processing Record&#8221;);<\/p>\n<p style=\"text-align: justify;\">We used this function in our JavaScript and the working of this function is cool as seen in the below screenshot.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"aligncenter wp-image-11067\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/01\/Open-Progress-Indicator-using-Xrm.Utility-in-Dynamics-365-v9.0.png\" alt=\"Open Progress Indicator using Xrm.Utility in Dynamics 365 v9.0\" width=\"461\" height=\"208\" \/><\/p>\n<blockquote>\n<p style=\"text-align: justify;\"><strong><em>Note<\/em><\/strong><em>: In order to closed the above Progress Indicator we would need to call <strong>Xrm.Utility.closeProgressIndicator()<\/strong> of Xrm.Utility namespace.<\/em><\/p>\n<\/blockquote>\n<p style=\"text-align: justify;\"><strong>closeProgressIndicator() <\/strong>function don\u2019t have any input argument, and if there is any Progress Indicator is displayed using <strong><em>showProgressIndicator(arg) <\/em><\/strong>function, then <strong>closeProgressIndicator() <\/strong>closes the progress indicator otherwise <strong>closeProgressIndicator() <\/strong>do nothing.<\/p>\n<p style=\"text-align: justify;\">So whenever a user needs to close the Progress Indicator user can use <strong>closeProgressIndicator() <\/strong>function.<\/p>\n<h2 style=\"text-align: justify;\"><strong>Conclusion:<\/strong><\/h2>\n<p style=\"text-align: justify;\">Now user can display the Progress Indicator by using out of the box function \u201c<strong><em>showProgressIndicator(arg)<\/em><\/strong>\u201d in Dynamics 365 v9.0.<\/p>\n<h2 style=\"text-align: left;\"><div class=\"su-heading su-heading-style-default su-heading-align-center\" id=\"\" style=\"font-size:15px;margin-bottom:5px\"><div class=\"su-heading-inner\">Generate Your Own New Leads Within Microsoft Dynamics 365 CRM<\/div><\/div><\/h2>\n<p><em>Contact us for a <a href=\"https:\/\/www.maplytics.com\/maplytics-download\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">demo<\/a> to know more about how <a href=\"https:\/\/www.maplytics.com\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">Maplytics<\/a> can help you to generate new leads from within Microsoft Dynamics 365 CRM.<\/em><\/p>\n<p><em><a href=\"https:\/\/www.maplytics.com\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">Maplytics<\/a> is a 5-star rated, preferred business app on the <a href=\"https:\/\/appsource.microsoft.com\/en-us\/product\/dynamics-365\/inogic.f6f3c73f-29de-4fa8-a396-87ea8a07b6c4?tab=Overview\" target=\"_blank\" rel=\"noopener\">Microsoft AppSource<\/a> 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 &amp; service processes, and achieve high ROI.<\/em><\/p>\n<p><em>Get your <a href=\"https:\/\/www.maplytics.com\/maplytics-download\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">free trial<\/a> from our Website or <a href=\"https:\/\/appsource.microsoft.com\/en-us\/product\/dynamics-365\/inogic.f6f3c73f-29de-4fa8-a396-87ea8a07b6c4?tab=Overview\" target=\"_blank\" rel=\"noopener\">Microsoft AppSource<\/a>!<\/em><\/p>\n<p><em>&#8216;If data is the new oil, location intelligence is ??\u201d<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2018\/01\/open-progress-indicator-using-xrm-utility-in-dynamics-365-v9-0\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":11066,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18],"tags":[589,1859],"class_list":["post-11065","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365-v9-2","tag-dynamics-365-v9-0","tag-xrm-utility"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/11065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=11065"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/11065\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/11066"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=11065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=11065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=11065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}