{"id":24130,"date":"2020-07-16T11:52:57","date_gmt":"2020-07-16T11:52:57","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=24130"},"modified":"2020-07-16T11:52:57","modified_gmt":"2020-07-16T11:52:57","slug":"how-to-add-loader-on-screen-in-resco-mobile-app","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/","title":{"rendered":"How to add loader on screen in Resco Mobile App"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>While working with the script (using <strong>JSbridge<\/strong> reference) in <strong>Resco Mobile App<\/strong>, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page which gives an idea to the user\/technician that the operation is in progress and user\/technician needs to wait on the page.<\/p>\n<p>Because if the user\/technician navigates to another page before completion of the script in the background then it might break the functionality in between.<\/p>\n<p>In <strong>Resco<\/strong> there is <strong>showPleaseWait<\/strong> function which will freeze the screen until the process is completed.<\/p>\n<p>For example, in update of \u2018Main Phone\u2019 on <strong>Account<\/strong> form we want to update related Contact\u2019s \u2018Business Phone\u2019 same as \u2018Main Phone\u2019. There can be several <strong>Contacts<\/strong> related to the <strong>Account<\/strong> and since the process is async, it takes time to update the \u2018Business Phone\u2019 of related <strong>Contacts<\/strong>. So, using<strong> showPleaseWait<\/strong> JSBridge function, we can add loader until the process execution completes.<\/p>\n<p>Please refer below code for the same:<\/p>\n<p>function onLoad() {<\/p>\n<p>var functionName = &#8220;onLoad(): &#8220;;<\/p>\n<p>try {<\/p>\n<p>MobileCRM.UI.EntityForm.onChange(function (entityForm) {<\/p>\n<p>var changedItem = entityForm.context.changedItem;<\/p>\n<p>\/\/validate the changed item<\/p>\n<p>if (changedItem == &#8220;telephone1&#8221;) {<\/p>\n<p>var accountId = entityForm.entity.id;<\/p>\n<p>var telephone1 = entityForm.entity.properties.telephone1;<\/p>\n<p>if (!isValid(telephone1))<\/p>\n<p>return;<\/p>\n<p>var wait = MobileCRM.UI.EntityForm.showPleaseWait(&#8220;Please wait&#8230;&#8221;);<\/p>\n<p>\/\/Entity Contact<\/p>\n<p>var entity = new MobileCRM.FetchXml.Entity(&#8220;contact&#8221;);<\/p>\n<p>entity.addAttribute(&#8220;contactid&#8221;);<\/p>\n<p>entity.filter = new MobileCRM.FetchXml.Filter();<\/p>\n<p>entity.filter.where(&#8220;parentcustomerid&#8221;, &#8220;eq&#8221;, accountId);<\/p>\n<p>entity.filter.where(&#8220;statecode&#8221;, &#8220;eq&#8221;, 0);<\/p>\n<p>\/\/ Get the Contact Records related to the Account.<\/p>\n<p>var fetch = new MobileCRM.FetchXml.Fetch(entity);<\/p>\n<p>fetch.execute(&#8220;Array&#8221;, function (results) {<\/p>\n<p>\/\/Validate Results<\/p>\n<p>if (isValid(results) &amp;&amp; results.length &gt; 0) {<\/p>\n<p>var count = results.length;<\/p>\n<p>\/\/MobileCRM.bridge.alert(count + &#8221; count&#8221;);<\/p>\n<p>for (var i = 0; i &lt; results.length; i++) {<\/p>\n<p>var contact = results[i];<\/p>\n<p>var contactId = contact[0];<\/p>\n<p>var enContact = new MobileCRM.DynamicEntity(&#8220;contact&#8221;, contactId);<\/p>\n<p>enContact.properties.telephone1 = telephone1;\u00a0 \/\/Business Phone<\/p>\n<p>\/\/Update Contact record<\/p>\n<p>enContact.save(<\/p>\n<p>function (error) {<\/p>\n<p>if (error) {<\/p>\n<p>wait.close(); \/\/ It is used to close the wait dialog<\/p>\n<p>MobileCRM.bridge.alert(functionName + &#8221; &gt;&gt; &#8221; + error);<\/p>\n<p>}<\/p>\n<p>else {<\/p>\n<p>count&#8211;;<\/p>\n<p>if (count &lt;= 0)<\/p>\n<p>wait.close(); \/\/ It is used to close the wait dialog<\/p>\n<p>}<\/p>\n<p>});<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>else {<\/p>\n<p>wait.close();<\/p>\n<p>}<\/p>\n<p>},<\/p>\n<p>function (err) {<\/p>\n<p>MobileCRM.bridge.alert(functionName + &#8221; &gt;&gt; &#8221; + err);<\/p>\n<p>});<\/p>\n<p>}<\/p>\n<p>});<\/p>\n<p>} catch (e) {<\/p>\n<p>MobileCRM.bridge.alert(functionName + &#8221; &gt;&gt; &#8221; + err);<\/p>\n<p>}<\/p>\n<p>}<\/p>\n<p>After deploying the script on <strong>Resco Mobile App<\/strong>, when the user\/technician will open an <strong>Account<\/strong> record and update \u2018Main Phone\u2019 (i.e. telelphone1), the <strong>please wait dialog<\/strong> will be displayed till the completion of process as shown in the below screenshot:<\/p>\n<p style=\"padding-left: 120px;\"><img decoding=\"async\" class=\"aligncenter wp-image-24131\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/1Resco-Mobile-App.png\" alt=\"Resco Mobile App\" width=\"502\" height=\"626\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/1Resco-Mobile-App.png 567w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/1Resco-Mobile-App-240x300.png 240w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>In this way, by using the <strong>showPleaseWait<\/strong> JSBridge function we can add the loader on screen until the process is completed in <strong>Mobile App<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction While working with the script (using JSbridge reference) in Resco Mobile App, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/\">Read More: How to add loader on screen in Resco Mobile App &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":24133,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,48],"tags":[1445],"class_list":["post-24130","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365-v9-2","category-resco-mobile-crm","tag-resco-mobile-app"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Introduction While working with the script (using JSbridge reference) in Resco Mobile App, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tushar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to add loader on screen in Resco Mobile App - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"Introduction While working with the script (using JSbridge reference) in Resco Mobile App, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/1Resco-Mobile-App.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/1Resco-Mobile-App.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"567\" \/>\n\t\t<meta property=\"og:image:height\" content=\"708\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-07-16T11:52:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-07-16T11:52:57+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to add loader on screen in Resco Mobile App - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Introduction While working with the script (using JSbridge reference) in Resco Mobile App, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/1Resco-Mobile-App.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Tushar\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#blogposting\",\"name\":\"How to add loader on screen in Resco Mobile App - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"How to add loader on screen in Resco Mobile App\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Resco-Mobile-CRM.png\",\"width\":150,\"height\":150,\"caption\":\"Resco Mobile CRM\"},\"datePublished\":\"2020-07-16T11:52:57+05:30\",\"dateModified\":\"2020-07-16T11:52:57+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#webpage\"},\"articleSection\":\"Dynamics 365 v9, Resco Mobile CRM, Resco Mobile App\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/#listItem\",\"name\":\"Dynamics 365 v9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/#listItem\",\"position\":2,\"name\":\"Dynamics 365 v9\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#listItem\",\"name\":\"How to add loader on screen in Resco Mobile App\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#listItem\",\"position\":3,\"name\":\"How to add loader on screen in Resco Mobile App\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365-v9-2\\\/#listItem\",\"name\":\"Dynamics 365 v9\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Tushar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tushar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/\",\"name\":\"How to add loader on screen in Resco Mobile App - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"Introduction While working with the script (using JSbridge reference) in Resco Mobile App, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/Resco-Mobile-CRM.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#mainImage\",\"width\":150,\"height\":150,\"caption\":\"Resco Mobile CRM\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2020\\\/07\\\/how-to-add-loader-on-screen-in-resco-mobile-app\\\/#mainImage\"},\"datePublished\":\"2020-07-16T11:52:57+05:30\",\"dateModified\":\"2020-07-16T11:52:57+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to add loader on screen in Resco Mobile App - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction While working with the script (using JSbridge reference) in Resco Mobile App, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page","canonical_url":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#blogposting","name":"How to add loader on screen in Resco Mobile App - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"How to add loader on screen in Resco Mobile App","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/Resco-Mobile-CRM.png","width":150,"height":150,"caption":"Resco Mobile CRM"},"datePublished":"2020-07-16T11:52:57+05:30","dateModified":"2020-07-16T11:52:57+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#webpage"},"articleSection":"Dynamics 365 v9, Resco Mobile CRM, Resco Mobile App"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/#listItem","name":"Dynamics 365 v9"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/#listItem","position":2,"name":"Dynamics 365 v9","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#listItem","name":"How to add loader on screen in Resco Mobile App"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#listItem","position":3,"name":"How to add loader on screen in Resco Mobile App","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/#listItem","name":"Dynamics 365 v9"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Tushar","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tushar"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/","name":"How to add loader on screen in Resco Mobile App - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction While working with the script (using JSbridge reference) in Resco Mobile App, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/Resco-Mobile-CRM.png","@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#mainImage","width":150,"height":150,"caption":"Resco Mobile CRM"},"primaryImageOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/#mainImage"},"datePublished":"2020-07-16T11:52:57+05:30","dateModified":"2020-07-16T11:52:57+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"How to add loader on screen in Resco Mobile App - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"Introduction While working with the script (using JSbridge reference) in Resco Mobile App, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page","og:url":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/1Resco-Mobile-App.png","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/1Resco-Mobile-App.png","og:image:width":567,"og:image:height":708,"article:published_time":"2020-07-16T11:52:57+00:00","article:modified_time":"2020-07-16T11:52:57+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"How to add loader on screen in Resco Mobile App - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"Introduction While working with the script (using JSbridge reference) in Resco Mobile App, sometimes it takes more time to perform the operation since the process is async in the Resco Mobile app. If we want to hold the screen till the completion of process, we need to add loader or processing bar on the page","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2020\/07\/1Resco-Mobile-App.png","twitter:label1":"Written by","twitter:data1":"Tushar","twitter:label2":"Est. reading time","twitter:data2":"2 minutes"},"aioseo_meta_data":{"post_id":"24130","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 06:32:17","updated":"2025-07-04 07:39:46","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/\" title=\"Dynamics 365 v9\">Dynamics 365 v9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to add loader on screen in Resco Mobile App\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Dynamics 365 v9","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365-v9-2\/"},{"label":"How to add loader on screen in Resco Mobile App","link":"https:\/\/www.inogic.com\/blog\/2020\/07\/how-to-add-loader-on-screen-in-resco-mobile-app\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/24130","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=24130"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/24130\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/24133"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=24130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=24130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=24130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}