cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alexey_bot
Helper I
Helper I

Navigation with barcode scanner

Hello

 

Please advice if it possible to navigate to another screen with barcode readings?

e.g. you scanned correct barcode with value "admin" and it navigates you to necessary screen

 

Best Regards

Alexey

1 ACCEPTED SOLUTION

Accepted Solutions

This one is working perfect

If(BarcodeScanner2.Value="admin"; Navigate(DetailInfo_In))

View solution in original post

5 REPLIES 5
RandyHayes
Super User III
Super User III

@Alexey_bot 

Yes, you can do this.  I find the best control to do something like this is the Toggle control.

As an example, set the Default property of the toggle to :  yourBarCodeControl.Value = "admin"

Then in the OnCheck action : Navigate(yourOtherScreen)

 

That should get you close to where you want to be.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Hello, is there possibility to use button, not toggle? Clicking scan button and if value correct in navigate to necessary screen. Especially when you adding barcode scanner and button Scan appears automatically

I found solution with function If and barcode scanner reader. All works fine, thank you very much

RandyHayes
Super User III
Super User III

@Alexey_bot 

Sorry I should have mentioned that the toggle was meant to be not visible.  It was just a comparative control that would execute an action when a condition was met.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

This one is working perfect

If(BarcodeScanner2.Value="admin"; Navigate(DetailInfo_In))

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,564)