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 / Select object in multi...
Power Apps
Answered

Select object in multiple parameters 'Onscan' barcodescanner not giving reaction on object

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Good afternoon,

 

I'm trying to make a reactive barcodescanner where the scanned value is used to sort through a list and the sorted item should then be selected and automatically, the DetailSceen should be openend. I've configured the Scanner as follows:

 

Set(scanValue;BarcodeScanner1.Value);;Reset(TextSearchBox1);;Select(Body1)

 

This gives the required sorting, but the Select(Body1) doesn't give any reaction. As the Body1 is configured to  'Select(Parent)', I would expect that on selection, the parent would automaticaly open. So that Onscan the right parent would be opened.

 

Can someone point me in the right direction?

 

Cheers,

Wieland

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,257 Most Valuable Professional on at

    Hi @Anonymous ,

    So you are setting a Variable to the scan value and I assume you want to go to an Edit of View form on another screen and display the item? The Select() function will certainly run code on a button or Icon, but I am not sure it will work in a gallery.

    So 

    Set(
     scanValue;
     BarcodeScanner1.Value
    );;
    Reset(TextSearchBox1);;
    Navigate(YourScreenName)

    If you want the value of the Scan to match the displayed record, you could have the Form Item

    If(
     !IsBlank(vScanVaue),
     Lookup(
     YourListName,
     YourMatchingField=vScanValue,
     ),
     YourGalleryName.Selected
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you @WarrenBelz  this worked like a charm

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard