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 / Reset barcode reader o...
Power Apps
Answered

Reset barcode reader output

(0) ShareShare
ReportReport
Posted on by 441

Hello!

 

The new barcode reader is a massive upgrade and really excited to get this working on our asset register. However I'm really struggling to get this working the same as the barcode scanner.

 

I need to scan a serial number, then the output needs to display in a text box in a form. Then when the form is submitted, the output needs to reset. All my other text boxes reset perfectly, however I can't get the scanned value to reset. 

 

Can anyone help me please? New to power apps so still learning, but I'm guessing I need something in the;

OnScan

OnSuccess

Default

 

but I'm not sure what!

 

JoshPullan11_0-1685105799049.png

 

Thanks,

Josh

 

 

Categories:
I have the same question (0)
  • Verified answer
    Jap11 Profile Picture
    441 on at

    Nevermind, resolved this myself after coming across another post. Shared here: https://powerusers.microsoft.com/t5/Building-Power-Apps/Reset-Barcode-Reader/m-p/2107226#M526553 

     

    OnScan: UpdateContext({varScannedItem: First(Self.Barcodes)})

    OnSuccess: UpdateContext({varScannedItem:Blank()})

    Default: varScannedItem.Value

    SubmitForm: SubmitForm(EditForm1);Navigate(HomeScreen)

     

    Hope this helps anyone else with this issue.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard