Barcode scanning and global search

Technicians can use the Field Service (Dynamics 365) mobile app to scan barcodes.

By scanning barcodes, technicians can:

  1. Enter a field with the barcode value to facilitate data entry
  2. Search the database for records that match the barcode for easy lookup.

Four mobile devices in different stages of the barcode scan process.

Step 1: Add a barcode field to the form

First, make sure there is a barcode field on the record type you want to add the barcode information. A common example is adding a barcode field to the customer asset form, which we'll walk through in this article.

Note

For another walkthrough, see this video: Use and configure the Dynamics 365 Field Service mobile app. ).

  1. Find Field Service Mobile in your list of Dynamics 365 apps and select Open in App Designer.

List of Dynamics 365 apps, showing "Open in app designer" for Field Service Mobile.

  1. Go to Edit form and select the form you want to use barcode scanning for.

Power Apps, showing the Field Service Mobile app designer.

  1. Add or select the field that you want to add barcode scanning to.

A Power Apps form showing the new barcode field.

  1. Save and publish all changes in the form and then switch to classic view.

The customer asset form in Power Automate.

  1. Select the required field and double-click on it.

Power Apps, showing the barcode field in the customer asset form.

  1. Go to the Controls tab and select Add control.

The field properties window in Power Apps.

  1. Select Barcode Scanner and add it.

The Add Control window showing the barcode scanner option.

  1. Enable the control for phones and tablets, then Save and Publish the changes.

Field properties for the barcode scanner control in Power Apps.

Step 2: Test scanning a barcode to populate the field value

Back in the app, you'll see the barcode-enabled field as a barcode icon beside the field. Selecting the barcode icon will open the camera and read any barcode or QR code. After your device's camera successfully reads the QR code, the barcode value populates into the field. Then save the form.

Mobile phone showing the barcode field back in the Field Service (Dynamics 365) Field Service mobile app.

Within the mobile app you may need to go to Profile > Reconfigure to enable new published changes.

Field Service (D365) Mobile will use Dataverse search and include a bar code scanner option within the search view. Dataverse search requires an active internet connection. If the device has no connectivity, the search experience will fall back to categorized search experience.

Note

Currently Dataverse search does not function on Tablet devices. If your organization uses Tablets it is recommended you opt out of Dataverse search and use categorized search.

By default, Dynamics 365 Field Service is configured to search against activity, contact, user, customer asset, incident type, work order, and IoT alert/device. You can customize search to include additional record types, such as products. Expanding search parameters can help technicians search, find by keyword, and scan to search by barcode, UPC, or QR code.

To enable a new bar code field for search within a table:

  1. If the desired table is not enabled for search, follow these steps to enable the table for search.
  2. Add the barcode-enabled field to the table's quick-find view.
  3. Save and publish changes.

Quick find dialogue in Power Apps, for customer asset record types.

Step 4: Test search by barcode

  1. Enter the barcode value into the barcode field.

  2. Select the search icon at the top of the mobile app.

  3. Select the barcode scan icon on the search screen.

  4. Scan the barcode, and the system will search for records with a matching barcode.

Four mobile devices in different stages of the barcode scan process.

Note

If you're using offline first the record will need to be included in your offline profile and downloaded to the device to display in search results.

Other considerations

  • Custom integration using barcode can be accomplished on mobile devices with getBarcodeValue API.
  • Currently, global search with barcode scanning is not available on tablet and Windows versions of the app.