barcode-readBarcode Scanner

The Avonni Barcode Scanner enables seamless barcode scanning in Salesforce mobile apps, eliminating manual data entry and improving accuracy

circle-exclamation

Configuration Settings

Core Settings

  • Open onload: Choose whether the scanner interface automatically opens upon loading the flow screen (ideal for dedicated scanning screens) or requires user interaction, such as a button click (better for embedding within other flow elements).

  • Barcode Types: Select the specific barcode symbols you anticipate encountering. Choose from a wide range, including common types like Code 128, Code 39, QR Codes, and Data Matrix, to ensure accurate and efficient scanning of your barcodes.

  • Instruction Text: Provide clear, concise instructions within the scanner interface to guide users in positioning and scanning barcodes effectively. This text can be customized to align with your application's context and user needs.

  • Success Text: Deliver instant feedback to users upon successful barcode scanning with a customizable success message. This reinforces positive interactions and acknowledges completed scans.

Advanced Settings

  • Enable Bulk Scan: This feature empowers users to scan multiple barcodes consecutively without manual intervention. It is invaluable for inventory management, asset tracking, or event check-ins.

  • Show Success Check Mark: A checkmark icon clearly confirms successful scans. This small but impactful detail enhances user confidence and satisfaction.

  • Scanner Size: Choose from Small, Medium, Large, or X-Large to determine the size of the scanning interface on the screen, ensuring optimal visibility and usability on different devices.

  • Camera Facing: Select whether to utilize the front-facing or rear-facing camera for scanning, catering to different use cases and device orientations.

  • Present with Animation: Enable a smooth transition animation when the scanner interface appears, contributing to a polished and professional user experience.

  • Manual Confirmation: Require users to explicitly confirm scanned barcode data before it's processed, minimizing errors and ensuring data accuracy.

  • Preview Barcode Data: This option displays the raw scanned data before confirmation, allowing users to verify accuracy and make informed decisions.

Button Customization

  • Button Settings: Personalize the scan initiation button with custom labels, visual styles, icons, and placement to seamlessly integrate with your flow's design. This empowers you to create a cohesive and intuitive user interface.


Output Variables

The Barcode Scanner exposes output variables you can reference in your flow after the screen. To use them, select the screen element in Flow Builder, then the Barcode Scanner component, and pick the output variable you need.

Scanned Values

When users scan one or more barcodes, these variables capture the scanned data.

Output variable
Type
What it returns

Value

Record (BarcodeScannerBarcode)

The data from the last scanned barcode, including the barcode value and type. Use this when scanning a single barcode per screen.

Value Collection

Collection (BarcodeScannerBarcode[])

All scanned barcodes as a collection. Available when Enable Bulk Scan or Enable Multi Scan is enabled. Each entry contains the barcode value and type.

Value Collection Serialized

Text (String)

All scanned barcodes as a JSON string. Useful for passing to an Apex action that processes multiple barcodes at once.

Example: A warehouse worker scans multiple product barcodes in bulk mode. After the screen, use Value Collection in a Loop element to look up each product and update its inventory count.


Beyond the Basics: Additional Considerations

  • Device Compatibility: The Avonni Barcode Scanner is optimized for mobile devices with camera functionality, ensuring compatibility with your field teams and mobile workforce.

  • Permissions: Verify that your Salesforce app has the camera permissions to enable smooth barcode scanning operations. Refer to Salesforce documentation for guidance on managing app permissions.

By following this comprehensive guide, you'll unlock the full potential of the Avonni Barcode Scanner, transforming your Salesforce Flows into efficient, user-friendly, and data-driven applications.

Last updated

Was this helpful?