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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Populate a text field ...
Power Apps
Unanswered

Populate a text field with a barcode scanner

(0) ShareShare
ReportReport
Posted on by

Hello,

I want to implement a new asset management system into our office.

I'm using a Microsoft List to store the data, and from that have integrated an app. I would like to add a barcode scanning option to an asset tag text field so that it will auto-populate on a scan, then when you have saved the record, it will update to the Microsoft List.

 

I have no knowledge in the Power Apps field so I would have no clue how to implement this, if anyone could help I would appreciate it!

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Hello matte,

    Here are the steps:   (Assuming you already added your list as a Datasource)

     

    0) Create your input form and add all your fields there.   

    1) In the serial number CARD, which you want to have the data read from a camera, insert a barcode scanner object.  (Insert/Media/Barcode scanner)

     

    leonunescouto_0-1636052538690.png

     

    2) on the OnScan property of that Barcode Scanner, set a temporary variable to receive the data you are reading.    Set(tmpScan,Self.Value)

     

    3) On the serial number Card, On the Default property, set the following formula: 

     

    leonunescouto_1-1636055310477.png

    Basically it checks for the form mode.  If is New then it gets the value from the tmpScan variable, otherwise it gets from the form itself)

     

    4) Finish to add your data and then submit the form.

     

    Let me know if that is what you were looking for.

     

    Cheers,

    Leo Couto

     

  • SH-23070720-0 Profile Picture
    on at

    Brilliant, thanks for providing this.

     

    Many thanks,

    Sam

  • gpdurham Profile Picture
    4 on at

    i still don't understand what I am doing wrong. I made an inventory app. It works really well, but now I want the user to be able to scan a barcodes.

    1 )to input the SN into the field for the record they are looking at (if it doesnt have one assigned yet). 

    2) to look up an item with barcode

    and no matter what formula i use that i have found, including this one, i get errors. 

  • gpdurham Profile Picture
    4 on at

    Screenshot 2024-02-27 at 10.01.14 AM.png

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard