Barcode scanning and global search

Technicians can use the Dynamics 365 Field Service mobile app to scan a barcode.

Scanning a barcode simplifies data entry and lets technicians search the database for records that match the barcode for easy lookup.

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

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

Add a barcode field to the form

First, make sure there's 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.

  1. Find the Field Service Mobile app module in your list of Dynamics 365 apps and select the ellipsis (…) > Open in App Designer.

  2. In the navigation, select the form you want to use barcode scanning on. In the list of available forms, choose the one you want to change and select Edit.

  3. Add a table column for which you want to use barcode scanning to the form.

  4. Select the newly added column and add the BarcodeScannerControl component in the Properties side pane. Make sure you enable Show component on for Mobile and Tablet.

    Screenshot of the Power Apps app designer with the BarcodeScannerControl opened.

  5. Save and publish the changes.

Note

Currently, the barcode scanner control doesn't support setting control-level error notifications. For more information, see setNotification docs.

Scan a barcode to populate the field value

In the mobile app, a barcode-enabled field has a barcode icon. Select the barcode icon to open the camera and scan a barcode or QR code. After a successful scan, the barcode value is added to the field. Save the form to store the scanned value.

Field Service uses Dataverse search and includes a barcode scanner option within the search view. Dataverse search requires an active internet connection. If the device has no connectivity, the search experience falls back to categorized search experience. If you configure the application to offline-first mode, tables that are indexed for search need to be added to categorized search. When using the online-only mode, add them to the Dataverse search index.

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 more 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 barcode field for search within a table:

  1. If the desired table isn't 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 the changes.

Note

  • Create custom integrations using barcode on mobile devices with getBarcodeValue API.
  • Currently, global search with barcode scanning isn't available on tablet and Windows versions of the app.
  • If the updated fields don't show on the mobile app, reconfigure the application to get the latest version.