{"id":4275,"date":"2017-01-13T18:07:48","date_gmt":"2017-01-13T12:37:48","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=4275"},"modified":"2017-01-13T18:07:48","modified_gmt":"2017-01-13T12:37:48","slug":"read-barcode-value-using-barcode-scanner-control-in-dynamics-365","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2017\/01\/read-barcode-value-using-barcode-scanner-control-in-dynamics-365\/","title":{"rendered":"Read Barcode Value Using Barcode Scanner Control in Dynamics 365"},"content":{"rendered":"<p><strong>Introduction:<\/strong><\/p>\n<p>Dynamics 365 introduced a new control for native mobile capabilities like reading barcode value using Barcode Scanner Control in Dynamics 365 for Phones and Tablets.<\/p>\n<p>We had a business requirement where we needed to read the barcode of a product and set the barcode value in the field when the user updates the cases for particular products from phones and tablets.<\/p>\n<p>We can use new Barcode Scanner Control for phones and tablets in Dynamics 365 by following the below-mentioned steps:<\/p>\n<ol>\n<li>First, we add new &#8220;Product Barcode Value&#8221; field (Single Line of Text field type) on case entity form.<img decoding=\"async\" class=\"aligncenter size-full wp-image-4289\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/01\/11.png\" alt=\"1\" width=\"652\" height=\"327\" \/><\/li>\n<\/ol>\n<ol start=\"2\">\n<li>After adding a field, we open the field properties of the same field and then click on &#8220;Add Control&#8221;.<img decoding=\"async\" class=\"aligncenter size-full wp-image-4290\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/01\/2.png\" alt=\"2\" width=\"319\" height=\"401\" \/><\/li>\n<\/ol>\n<ol start=\"3\">\n<li>Then select the Barcode Scanner control and click on &#8220;Add&#8221;.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-4291\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/01\/3.png\" alt=\"3\" width=\"370\" height=\"340\" \/><\/p>\n<ol start=\"4\">\n<li>After adding control, enable the control for phone and tablet.<img decoding=\"async\" class=\"aligncenter size-full wp-image-4292\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/01\/4.png\" alt=\"4\" width=\"411\" height=\"500\" \/><\/li>\n<\/ol>\n<ol start=\"5\">\n<li>Now, open the case entity record in phones\/tablets and click on &#8220;Product Barcode Value&#8221; field.<img decoding=\"async\" class=\"aligncenter size-full wp-image-4293\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/01\/5.png\" alt=\"5\" width=\"305\" height=\"506\" \/><\/li>\n<\/ol>\n<ol start=\"6\">\n<li>Under the field, we get the control icon of Barcode Scanner. Click on the Barcode Scanner icon, as seen in the screenshot.<img decoding=\"async\" class=\"aligncenter size-full wp-image-4294\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/01\/6.png\" alt=\"6\" width=\"335\" height=\"555\" \/><\/li>\n<\/ol>\n<ol start=\"7\">\n<li>After clicking on the Barcode Scanner icon, it will redirect to the Barcode Scanning screen.<img decoding=\"async\" class=\"aligncenter size-full wp-image-4295\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/01\/7.png\" alt=\"7\" width=\"642\" height=\"361\" \/><\/li>\n<\/ol>\n<ol start=\"8\">\n<li>It reads the barcode and sets the barcode value in the respective field.<img decoding=\"async\" class=\"aligncenter size-full wp-image-4296\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/01\/8.png\" alt=\"8\" width=\"349\" height=\"578\" \/><strong>Note:<\/strong><\/li>\n<\/ol>\n<ol>\n<li>Barcode Scanner Control supports Single Line of Text field type only.<\/li>\n<li>We can call read barcode value method programmatically using Dynamics 365 new Client APIs. Check out this <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/jj602956.aspx#BKMK_DeviceCapabilities\">article<\/a> for more details.<\/li>\n<\/ol>\n<p><strong>Conclusion:<\/strong><\/p>\n<p>New control for native mobile capabilities in Dynamics 365 helps enrich the user experience for the mobile business user in Sales, Field Service and other areas.<\/p>\n<p><span style=\"color: #800000;\">Now Maplytics available in Language of your choice &#8211; <a style=\"color: #800000;\" title=\"Maplytics Jan 2017 Release Coming \u2013 We speak your language!\" href=\"https:\/\/www.inogic.com\/blog\/2017\/01\/maplytics-jan-2017-release-coming-we-speak-your-language\/\">Maplytics Jan Release<\/a> coming soon!\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Dynamics 365 introduced a new control for native mobile capabilities like reading barcode value using Barcode Scanner Control in Dynamics 365 for Phones and Tablets. We had a business requirement where we needed to read the barcode of a product and set the barcode value in the field when the user updates the cases\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2017\/01\/read-barcode-value-using-barcode-scanner-control-in-dynamics-365\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":4299,"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":[11,16],"tags":[193],"class_list":["post-4275","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-controls","category-dynamics-365","tag-barcode-scanner-control-dynamics-365"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/4275","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=4275"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/4275\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/4299"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=4275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=4275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=4275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}