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 reader to chec...
Power Apps
Answered

Barcode reader to check off a checklist

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

 

i am new to PA and i want to make an app where i can check off a checklist using barcode scanner and qr codes. The background is that its a onboarding app, and when new people go to different stations within our company, they should be able to scan a barcode at every station, e.g. the HR department. So when they go there, they scan a qr code, and then the app checks this visit off of the list for onboarding tasks.

 

although i did a really basic online course, I have no idea where to start and how to go about it, can anyone help me get started with this?

Categories:
  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @Anonymous 

     

    Have you seen this video yet?

    https://www.youtube.com/watch?v=lMqYjOpRbRg

    Shane Young introduces all the potentials of barcode control here and he is using a very simple screen layout that you can follow.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the advice. The problem is not to scan data and show it in a gallery or table. The problem is that the patch function doesnt seem to work somehow. I just cant look up the scanned value, for example "Station 1", and write "OK" in the next column. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Basically the "cheking off" from a checklist is the problem, the scanning works fine! 

  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @Anonymous 

     

    What you can do is put your Patch function on either the OnScan or the OnChange property of the Barcode Reader control.

     

    OnScan – Actions to perform when a barcode is successfully scanned.

    OnChange - Actions to perform when a property on the barcode reader control is changed, including output properties.

     

    Patch function is the function you use to update the record in a SharePoint list.

     

     

     

    cha_cha_0-1685355426627.png

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you very much for your effort. Meanwhile i managed to solve the problem. 

    Here is the code that worked for me:

     

    OnScan:

    Set(BarType;First(BarcodeReader1.Barcodes).Type);;

    Set(BarValue;First(BarcodeReader1.Barcodes).Value);;

    Set(BarUser;User().Email);;

    Set(BarDate;Today());;

    Patch(Tabelle1;Defaults(Tabelle1);{User:BarUser;Type:BarType;Value:BarValue;Datum:BarDate});;

    Refresh(Tabelle1)

     

    I think collections and excel just didnt work well, now i use global variables and a Sharepoint list, and it works like a charm 😉

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard