Comment on page
The Barcode Scanner component can be used to decode scanned barcodes.
The Barcode Scanner component operates only on mobile devices using the Salesforce mobile app.
The Barcode Scanner Component allows users to scan and read barcodes using their cameras. It is often used in retail, logistics, and other applications where it is necessary to quickly and accurately capture and transmit information about a product or item.
The Barcode Scanner Component may be displayed as a static image or button that the user can tap to initiate a scan, or it may be integrated into the device's camera app. The scanned data may be displayed to the user or automatically processed and used to perform some action, such as adding an item to a cart or looking up more information about a product.
The Barcode Scanner component can read the following barcode formats, including QR Codes.
- Data Matrix
Overall, the Barcode Scanner Component is valuable for allowing users to quickly and easily scan physical barcodes and retrieve their information.
If true, multiple barcodes can be scanned until the user selects the cancel button or exits the scanner.
Specifies whether the scanner opens automatically when the component loads.
Specifies whether the front- or rear-facing camera is used.
Here are the available interactions for the Barcode Scanner component:
Successful Scan: The event is fired when the user successfully scans a barcode.
From the Styles panel, you can customize styling for the Barcode Scanner component:
Last modified 3mo ago