Skip to main content

Notifications

Community site session details

Community site session details

Session Id : pCtzXl797PDv/m19NfCauv
Power Apps - Building Power Apps
Unanswered

power app Barcode scanner lookup and return value

Like (0) ShareShare
ReportReport
Posted on 19 Aug 2022 16:24:13 by 2

I am making a device management app that is connected to a sharepoint list. I attached a barcode scanner to the home screen and asset lookup screen in the search bar. I can open the barcode scanner and scan a barcode but then it just goes back to the screen it was already on. These barcodes are already in the sharepoint list. how do I tell the barcode scanners to lookup the barcode in the sharepoint list and return the item in said list?

  • dsjordan Profile Picture
    2 on 24 Aug 2022 at 14:42:00
    Re: power app Barcode scanner lookup and return value

    If('Device List',Subtitle1=BarcodeScanner1.Value,Navigate('Device Details',ScreenTransition.Cover);If('Device List',Subtitle1,Not(BarcodeScanner1.Value,Navigate('Edit Device'))))

    This is the strand I have for the onscan category. I am trying to tell the barcode scanner to go to the item in the device details screen with the corresponding serial number and if it does not have a corresponding serial number then go to the edit device screen so that I can make an item with that serial number. Subtitle 1 is where the serial number is on the device list screen where I am looking up the serial number.

  • v-qiaqi@microsoft.com Profile Picture
    on 24 Aug 2022 at 03:04:07
    Re: power app Barcode scanner lookup and return value

    Hi @dsjordan,

    Do you want to retrieve value from list based on barcode scanner value?

    Could you please share a bit more about your scenario?

     

    You should have some display controls like TextInput, once the barcode scanner scan a device, each TextInput control will be populated with the item corresponding to the barcode scanned.

    Set the TextInput Default property as below:

    LookUp(ListName,DeviceBarcodeColumn=BarcodeScanner1.Value).Column1

    Note that DeviceCodeColumn is the column you save the barcode, the Column1 is where you want to display the returned item based on the barcode.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 223 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 110

#3
stampcoin Profile Picture

stampcoin 86

Overall leaderboard
Loading started