Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Implementing Continuous Barcode Scanning with Zebra MC220J and Business Central App

(1) ShareShare
ReportReport
Posted on by 10
Good morning,
 
I am working on implementing Scenario 3 as described in the official Microsoft documentation on adding barcode scanning to the mobile app. 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.
 
Has anyone else experimented with this setup? Microsoft's documentation on this subject lacks detail, so I'm wondering if anyone has successfully implemented this or could offer some guidance.
Thank you in advance for any assistance.
  • CU13080734-2 Profile Picture
    10 on at
    Implementing Continuous Barcode Scanning with Zebra MC220J and Business Central App
    Hi gdrenteria, thank you for your input. Unfortunately, the blog post you linked to only describes "Scenario 2: Invoke from AL" from the official Microsoft Documentation. What I am trying to implement is "Scenario 3: Integrate dedicated barcode scanner".

    The scanner I am using from Zebra is an Android device where I have installed Business Central (version 24.4, the latest available as of today, on a SaaS environment). In theory, it should be possible to open the Business Central Barcode Reader page, and with each scan, the result should be automatically processed by the Business Central Page through the execution of the "BarcodeReceived" trigger. You can see an example of this here. As shown in the video, the presenter opens the page on the device and begins scanning. With each scan of the same barcode, the Quantity on the page increases. This is only possible in Scenario 3, where multiple operations need to be executed in succession. I really hope there is a combination of DataWedge setups and code writing that can enable this functionality. As of today, I am not aware of anyone (except Microsoft) who has successfully implemented this, so I am trying to do it myself.
  • Suggested answer
    Jun Wang Profile Picture
    7,761 Super User 2025 Season 1 on at
    Implementing Continuous Barcode Scanning with Zebra MC220J and Business Central App
    typically, if you use scanner app from ISV, they provide guidance on modifying barcode report
  • Gerardo Rentería García Profile Picture
    19,937 Most Valuable Professional on at
    Implementing Continuous Barcode Scanning with Zebra MC220J and Business Central App

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans