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 / Use barcode scanner to...
Power Apps
Unanswered

Use barcode scanner to fill a text input

(0) ShareShare
ReportReport
Posted on by 14

I'm working on an app where I have a text input for a Part ID (inpParID). The backend data source in a Sharepoint list and, of course, the input is writing to it. I would like to use the barcode reader, if possible, to write to that text input, but so far have been unsuccessful. 

  • I've assigned the OnScan property to a variable (varBarcode) and then
    • Writing the variable to the Default property of the inpPartID
    • Writing the Default property of varPartID as If(IsBlank(Parent.Default), varPartID, Blank())

Am I going about this the wrong way or is it even possible to write to an SP List from the barcode scanner?

Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,909 Super User 2026 Season 1 on at

    Hi @bgeorge76 

     

    Recently I have created a inventory app with the Barcode Scanner.

    To select the ID I would suggest the following in the OnScan property:

     

    Set(
     varBarcode,
     First(BarcodeReader.Barcodes).Value // BarcodeReader is the name of the control
    );

     

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • bgeorge76 Profile Picture
    14 on at

    Thank you. This seems like a step in the right direction, however, the barcode is filling in the text input, but not writing back to my sharepoint list. It just returns a blank value. 

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard