Read Barcode Value Using Barcode Scanner Control in Dynamics 365

By | January 13, 2017

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 for particular products from phones and tablets.

We can use new Barcode Scanner Control for phones and tablets in Dynamics 365 by following the below-mentioned steps:

  1. First, we add new “Product Barcode Value” field (Single Line of Text field type) on case entity form.1
  1. After adding a field, we open the field properties of the same field and then click on “Add Control”.2
  1. Then select the Barcode Scanner control and click on “Add”.

3

  1. After adding control, enable the control for phone and tablet.4
  1. Now, open the case entity record in phones/tablets and click on “Product Barcode Value” field.5
  1. Under the field, we get the control icon of Barcode Scanner. Click on the Barcode Scanner icon, as seen in the screenshot.6
  1. After clicking on the Barcode Scanner icon, it will redirect to the Barcode Scanning screen.7
  1. It reads the barcode and sets the barcode value in the respective field.8Note:
  1. Barcode Scanner Control supports Single Line of Text field type only.
  2. We can call read barcode value method programmatically using Dynamics 365 new Client APIs. Check out this article for more details.

Conclusion:

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.

Now Maplytics available in Language of your choice – Maplytics Jan Release coming soon!