# Scan Barcode Event Not Working?

**URL:** <https://forum.inductiveautomation.com/t/scan-barcode-event-not-working/59521>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 12, 2022, 7:30pm UTC](https://forum.inductiveautomation.com/t/scan-barcode-event-not-working/59521 "2022-05-12T19:30:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexZanduR](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alexzandur/32/31297_2.png) [@AlexZanduR](https://forum.inductiveautomation.com/u/AlexZanduR)\
**Post date:** [May 12, 2022, 7:30pm UTC](https://forum.inductiveautomation.com/t/scan-barcode-event-not-working/59521/1 "2022-05-12T19:30:04Z")

</div>

I set a button to **Scan Barcode** _onClick_, but nothing happens. I am expecting a popup asking to use camera. I tried on my PC as well as my phone.  
I also set up the project session event in case that mattered.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/0/8027928a3f32d5b23af5a0475e272f73f00a7190.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/4/e404d46a87b8269efb8ff30a1b7dd7f52ed9908c.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 12, 2022, 7:31pm UTC](https://forum.inductiveautomation.com/t/scan-barcode-event-not-working/59521/2 "2022-05-12T19:31:37Z")

</div>

It only works in the mobile app, not in a browser. Coming to Perspective Workstation at some point.
