Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Z23ouTzl7dZ9sefGYxTrPb
Power Apps - Building Power Apps
Answered

Barcode reader to check off a checklist

Like (0) ShareShare
ReportReport
Posted on 29 May 2023 07:41:59 by

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:
  • Verified answer
    Community Power Platform Member Profile Picture
    on 15 Jun 2023 at 04:34:52
    Re: Barcode reader to check off a checklist

    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 😉

  • cha_cha Profile Picture
    4,932 Super User 2025 Season 1 on 29 May 2023 at 10:19:20
    Re: Barcode reader to check off a checklist

    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

     

  • Community Power Platform Member Profile Picture
    on 29 May 2023 at 10:11:58
    Re: Barcode reader to check off a checklist

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

  • Community Power Platform Member Profile Picture
    on 29 May 2023 at 10:10:26
    Re: Barcode reader to check off a checklist

    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. 

  • cha_cha Profile Picture
    4,932 Super User 2025 Season 1 on 29 May 2023 at 09:46:05
    Re: Barcode reader to check off a checklist

    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.

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started