{"id":30467,"date":"2022-01-31T19:45:09","date_gmt":"2022-01-31T14:15:09","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=30467"},"modified":"2022-01-31T19:48:33","modified_gmt":"2022-01-31T14:18:33","slug":"open-sms-application-with-predefined-details-from-resco-mobile-app","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2022\/01\/open-sms-application-with-predefined-details-from-resco-mobile-app\/","title":{"rendered":"Open SMS application with predefined details from Resco Mobile App"},"content":{"rendered":"<h3 style=\"text-align: justify;\"><strong>Introduction<\/strong><\/h3>\n<p style=\"text-align: justify;\">Sometimes while working with the <strong>Resco Mobile app<\/strong>, there may be situations where we need to send a <strong>SMS<\/strong> to a specific client based on certain conditions; for instance like creating Booking related for Account or Technician started travelling toward the address to visit. So, in order to achieve this, previously there was no option to send SMS automatically through Resco Mobile App.<\/p>\n<p style=\"text-align: justify;\">But in the latest version of Resco mobile app, we have the option to automatically open the SMS application (platform-specific SMS App) using the <strong>JsBridge\u2019s<\/strong> function with predefined telephone number and the message text as well.<\/p>\n<p style=\"text-align: justify;\">So \u201c<strong>MobileCRM.Platform.sendSMS<\/strong>\u201d function of JsBridge will help us to open the SMS app from the Resco mobile app automatically.<\/p>\n<p style=\"text-align: justify;\">Parameters for this \u201c<strong>MobileCRM.Platform.sendSMS<\/strong>\u201d function are,<\/p>\n<ol style=\"text-align: justify;\">\n<li>Telephone Number<\/li>\n<li>Message Text<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><strong><em>Note: Before using this function, make sure that you have installed latest version (i.e. 14.2.1+) of Resco Mobile app with Woodford.<\/em><\/strong><\/p>\n<p style=\"text-align: justify;\">Now, let\u2019s check the steps and details to achieve the same.<\/p>\n<p style=\"text-align: justify;\">Here, we want to send SMS to the Service Account on creation of Booking record from the Resco Mobile App. In order to achieve this, first we need to add the <strong>offline html file<\/strong> with the appropriate HTML and JavaScript code. Please find below code for the same:<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30468 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-1.png\" alt=\"Resco Mobile App\" width=\"1510\" height=\"817\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-1.png 1510w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-1-300x162.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-1-1024x554.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-1-768x416.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-1-660x357.png 660w\" sizes=\"(max-width: 1510px) 100vw, 1510px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Upload the file in <strong>Offline Html <\/strong>in the <strong>Woodford<\/strong> and add the <strong>iframe<\/strong> on the Bookable Resource Booking Entity Form.<\/p>\n<p style=\"text-align: justify;\">Please refer below screenshots for the same:<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-2.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30469 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-2.png\" alt=\"Resco Mobile App\" width=\"1415\" height=\"506\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-2.png 1415w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-2-300x107.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-2-1024x366.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-2-768x275.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-2-660x236.png 660w\" sizes=\"(max-width: 1415px) 100vw, 1415px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-3.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30470 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-3.png\" alt=\"Resco Mobile App\" width=\"1611\" height=\"759\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-3.png 1611w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-3-300x141.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-3-1024x482.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-3-768x362.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-3-1536x724.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-3-660x311.png 660w\" sizes=\"(max-width: 1611px) 100vw, 1611px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-4.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30471 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-4.png\" alt=\"Resco Mobile App\" width=\"1596\" height=\"661\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-4.png 1596w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-4-300x124.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-4-1024x424.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-4-768x318.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-4-1536x636.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-4-660x273.png 660w\" sizes=\"(max-width: 1596px) 100vw, 1596px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Now save and publish the changes.<\/p>\n<p style=\"text-align: justify;\">Once publish action is completed, navigate to the Resco Mobile App from <strong>Android<\/strong> on <strong>iOS<\/strong> device.<\/p>\n<p style=\"text-align: justify;\">Now, go to Work Order and create new Booking record from Mobile app. As soon as we save the Booking, it will open messenger app with the predefined details.<\/p>\n<p style=\"text-align: justify;\">Please refer below screenshots:<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-5.png\" target=\"_blank\" rel=\"noopener\"> \u00a0<\/a><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-5.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone wp-image-30472\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-5.png\" alt=\"Resco Mobile App\" width=\"318\" height=\"615\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-5.png 417w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-5-155x300.png 155w\" sizes=\"(max-width: 318px) 100vw, 318px\" \/> \u00a0<\/a><img decoding=\"async\" class=\"alignnone wp-image-30473\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-6.png\" alt=\"Resco Mobile App\" width=\"322\" height=\"615\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-6.png 420w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-6-157x300.png 157w\" sizes=\"(max-width: 322px) 100vw, 322px\" \/><\/p>\n<p><img decoding=\"async\" class=\"wp-image-30474 alignnone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-7.png\" alt=\"Resco Mobile App\" width=\"318\" height=\"615\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-7.png 417w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-7-155x300.png 155w\" sizes=\"(max-width: 318px) 100vw, 318px\" \/> \u00a0<img decoding=\"async\" class=\"alignnone wp-image-30483\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-8-1.png\" alt=\"\" width=\"324\" height=\"615\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-8-1.png 423w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/01\/Resco-Mobile-App-8-1-158x300.png 158w\" sizes=\"(max-width: 324px) 100vw, 324px\" \/><\/p>\n<p style=\"text-align: justify;\">Once we click on the Send button, it will send the message from the opened mobile number to the Service Account (initially it creates the draft message).<\/p>\n<p style=\"text-align: justify;\"><strong>Conclusion<\/strong>:<\/p>\n<p style=\"text-align: justify;\">In this way, by using the <strong>MobileCRM.Platform.sendSMS<\/strong> function, we will be able to send SMS from the Resco Mobile App.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/kanban-board-dynamics-365-crm\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-28745 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb-1.jpg\" alt=\"Kanban Board\" width=\"800\" height=\"200\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb-1.jpg 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb-1-300x75.jpg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb-1-768x192.jpg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/07\/kb-1-660x165.jpg 660w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Sometimes while working with the Resco Mobile app, there may be situations where we need to send a SMS to a specific client based on certain conditions; for instance like creating Booking related for Account or Technician started travelling toward the address to visit. So, in order to achieve this, previously there was no\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2022\/01\/open-sms-application-with-predefined-details-from-resco-mobile-app\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"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":[16,19,48,2361],"tags":[1445,1446],"class_list":["post-30467","post","type-post","status-publish","format-standard","hentry","category-dynamics-365","category-dynamics-crm","category-resco-mobile-crm","category-technical","tag-resco-mobile-app","tag-resco-mobile-app-dynamics-365-crm"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/30467","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=30467"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/30467\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=30467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=30467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=30467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}