Good morning,
I am working on implementing Scenario 3 as described in the . My objective is to enable continuous scanning using a Zebra MC220J device with the Business Central App installed. I want to intercept scanned barcodes for processing via custom code, without requiring any UI interaction from the warehouse operator.
According to Microsoft's documentation:
With some barcode scanner devices, such as Zebra, you can't modify the intent configuration. In this case, you can pass the intent data strings via AL.
To achieve this, I attempted to implement the code by calling the `RequestBarcodeScannerAsync` function:
if IsSupported then
CurrPage.BarcodeControl.RequestBarcodeScannerAsync('com.businesscentral.barcode.receive_barcode',
'com.businesscentral.barcode.receive_category',
'com.businesscentral.receive_barcode.barcode_string',
'com.businesscentral.receive_barcode.barcode_format'); // Step 3
Additionally, I configured a new profile on the Zebra DataWedge app, setting the "Intent delivery mode" to "broadcast intent". However, the result has been that the `BarcodeReceived(Barcode: Text; Format: Text)` trigger is never raised, and the scanned barcode is not passed to the app.
I would need to know if the standard code to write the intent has already been tested by Microsoft on a Zebra device to successfully enable the Scenario 3 from the official documentation. Because as of now, the passing of additional information through the “RequestBarcodeScannerAsync” function seems not to be working.
Thank you for any insights.
Best regards