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.
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.
Find the Field Service Mobile app module in your list of Dynamics 365 apps and select the ellipsis (…) > Open in App Designer.
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.
Add a table column for which you want to use barcode scanning to the form.
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.
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.
Enable search
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:
- If the desired table isn't enabled for search, follow these steps to enable the table for search.
- Add the barcode-enabled field to the table's quick-find view.
- 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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for