web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

BC23 OnPrem barcode scanning in mobile app with zebra scanner

(0) ShareShare
ReportReport
Posted on by 2
Good morning,
I am currently trying to implement barcode scanning in bc23 OnPrem using a zebra MC2200J device. I am following scenario 3 (.net based API) described here: Barcode scanning in mobile app - Business Central | Microsoft Learn
Unfortunately code in trigger BarcodeScannerProvider::BarcodeReceived never runs even when scanning a barcode. I already figured out that some scanner configurations may not be manually set with zebra devices. Therefore modifiying settings in AL code is neccessary. With ControlAddIns function RequestBarcodeScannerAsync allows to set IntentAction, IntentCategory, DataString and DataFormat as a parameter. As I am working with bc23 OnPrem I am using .net Variable BarcodeScannerProvider. However BarcodeScannerProvider.RequestBarcodeScannerAsync only allows BarcodeScannerOptions as a parameter or none at all. 
Using BarcodeScannerOptions values are set and given to the function as a parameter. Unfortunately neither settings shown in the documentation nor those that have worked previously with controlAddIns are working with my code. Code in trigger BarcodeReceived never runs and I am out of ideas how to make it work.
I have set intent delivery mode within the scanner settings to broadcast intent.
 
I have attached my code. Any help is greatly appreciated
Best regards
   
 
BarcodeScanningCode.png
I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,977 Super User 2025 Season 2 on at

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 745 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 530

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans