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 / Sharepoint list lookup...
Power Apps
Answered

Sharepoint list lookup from Barcode scan

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All, 

 

So looking to make a poor man's barcode scanner for some of our field guys, the barcodes and partnumbers are part of a sharepoint list (barcode (num) , partnumber(text) ) 

 

I can use a button and run a look up fine against the list with a barcode number 

 

Set(<PartVariable>, LookUp(<SPList>, Barcode = 884548000000, <PartNumInList>))
The variable is populated and used in the rest of the app

 

But when i try to use the barcodescanner.value it fails to lookup the value

 

Set(<ScanVariable>, Value(BarcodeScanner1.Value));
Set(<PartVariable>, LookUp(<SPList>, Barcode = Scan, <PartNumInList>))

 

Categories:
  • cwebb365 Profile Picture
    3,334 Most Valuable Professional on at
    Put a label on screen with that variable see what returns to it if anything. Could be the barcode type isn’t supported or something.
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the suggestion, I added a text input box and confirmed the barcode was coming across right. What i should have checked before was that the barcode actually existed in the document list! I added the right barcode and part number and bam, worked like a dream. 

     

    only question i have now is should i be capturing the barcodescanner input into a variable first? if so is there a limit to variables for an app? Also maybe how do you delete a global variable(for the life of me I can't figure it out!)?

     

     

    Solution -

    Confirmed Barcode output was coming across as expected tp input textbox

    Confirmed the barcode number i was using actually was in the SP list i running lookup against (was not so fixed this issue) 

    tested query with actual barcode value that was present the SP list

    barcode scan used in the lookup worked as expected. 

  • Jeitana Profile Picture
    2 on at

    I Still cannot look up by barcode scan, please give me more details about this.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Can you give a little more information about what the setup you are using? 

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