Barcode scanning and global search
Technicians can use the Field Service (Dynamics 365) mobile app to scan barcodes.
By scanning barcodes, technicians can:
- Enter a field with the barcode value to facilitate data entry
- Search the database for records that match the barcode for easy lookup.
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. ).
- Find Field Service Mobile in your list of Dynamics 365 apps and select Open in App Designer.
- Go to Edit form and select the form you want to use barcode scanning for.
- Add or select the field that you want to add barcode scanning to.
- Save and publish all changes in the form and then switch to classic view.
- Select the required field and double-click on it.
- Go to the Controls tab and select Add control.
- Select Barcode Scanner and add it.
- Enable the control for phones and tablets, then Save and Publish the changes.
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.
Within the mobile app you may need to go to Profile > Reconfigure to enable new published changes.
Step 3: Enable search
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:
- If the desired table is not 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 changes.
Step 4: Test search by barcode
Enter the barcode value into the barcode field.
Select the search icon at the top of the mobile app.
Select the barcode scan icon on the search screen.
Scan the barcode, and the system will search for records with a matching barcode.
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.
Feedback
Submit and view feedback for