web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issues with PDF417 Bar...
Power Apps
Unanswered

Issues with PDF417 Barcode Scanner in Power Apps

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

 

I'm currently working on a Power Apps project where I need to use a PDF417 barcode scanner to automatically parse and import data into a SharePoint list. Despite following various tutorials and documentation, I'm encountering persistent issues with the OnScan property.

 

Here’s what I’ve done so far:

  1. Barcode Scanner Configuration:

    • Inserted the Barcode Scanner control and set its BarcodeType property to PDF417.
    • Named the control BarcodeScannerPDF417.
  2. OnScan Property Code:

    • I attempted to set the OnScan property to parse JSON data and collect it into the KanbanCards SharePoint list:
      plaintext
      Set(parsedData, JSON(First(BarcodeScannerPDF417.Barcodes).Value)); Collect( KanbanCards, { ActionNeeded: parsedData.ActionNeeded, ProductManufacturer: parsedData.ProductManufacturer, ManufacturerSKU: parsedData.ManufacturerSKU, CountNeeded: Value(parsedData.CountNeeded), // Ensure CountNeeded is a number UOM: parsedData.UOM, CountPerUOM: Value(parsedData.CountPerUOM), // Ensure CountPerUOM is a number Warehouse: parsedData.Warehouse, Sublocation: parsedData.Sublocation, EmployeeID: "", // To be set later if needed DeletionTimestamp: Blank() // Set as Blank initially } ); Notify("Data Imported Successfully", NotificationType.Success);

Issues Encountered:

  • The OnScan property shows errors related to the use of the '.' operator on text values.
  • The First(BarcodeScannerPDF417.Barcodes).Value might not be parsing as expected.

 

Objective: I want the barcode scanner to automatically parse the scanned data and add it to the KanbanCards list without needing an additional button click.

 

Request: Could anyone provide insights or a corrected approach to handle this scenario? Any advice on how to correctly configure the OnScan property or troubleshoot these issues would be greatly appreciated.

 

Background: I want to have a Kanban Card Digital Board, See screenshots below.

This is the printed cardThis is the printed cardScreenshot 2024-06-14 at 11.44.21 AM.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Thank you in advance for your assistance!

 

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard