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
Solved! Go to Solution.
Hi @Wieland ,
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.
Hi @Wieland ,
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.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
252 | |
235 | |
82 | |
36 | |
27 |
User | Count |
---|---|
313 | |
265 | |
120 | |
68 | |
44 |