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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / BarCode Scanner - Auto...
Power Apps
Unanswered

BarCode Scanner - Auto BarCode Type Detection

(1) ShareShare
ReportReport
Posted on by 2,944

Hi PG

 

Almost all barcode scanner can detect by itself the type. Would PA consider this?

I have tried to work out some ideas for consideration and it works.

 

Wish PG may consider improve on this to reduce hassle in selection of type of barcode.

 

Example: TextCode is an Input Box, and since you have 6 types of BarCode, I have iter < 6

 

Function: OnTimerEnd

 

If(IsBlank(TextCode.Text), UpdateContext({iter: If(iter < 6, iter + 1)}) && If(iter = 1, UpdateContext({bct : BarcodeType.Codabar}), If(iter = 2, UpdateContext({bct : BarcodeType.Code128}), If(iter = 3, UpdateContext({bct : BarcodeType.Code39}), If(iter = 4, UpdateContext({bct : BarcodeType.Ean}), If(iter = 5, UpdateContext({bct : BarcodeType.I2of5}), If(iter = 6, UpdateContext({bct : BarcodeType.Upc})))))))...

 

Screenshot (144).png

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard