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 / QR Code scanning not w...
Power Apps
Answered

QR Code scanning not working

(0) ShareShare
ReportReport
Posted on by 8

Is anyone else having troubles with the camera function in iOS not working to scan using the barcode scanner option when the type is set to QR code?  I reset the barcode type to QR Code last week because it wasn't patching properly to sharepoint and it worked.  Now when I scan, it won't actually scan as it does if I leave the type as auto.  The other thought i had was to leave it as auto but then the patch function for that particular variable doesn't transmit.  The QR code is returning a "number" such as this B0007502. I have formatted the SP column as text.

 

My scan fx = ClearCollect(collectMultiScan, {QRCode: BarcodeScanner1.Text, WhoScanned: User(). FullName, WhenScanned: Now()})

 

I then have a gallery that portrays all of this info and the QR Code Value is portrayed in a text box I've renamed QR Code.  My patch function is basically this.....(took out the non important coding that i know works).

 

Patch('AED Results', Defaults('AED Results'),{'QR Code': QRCode.Text, Who: User().FullName, Date: Now()});

Categories:
I have the same question (0)
  • KrishnaV Profile Picture
    5,023 on at

    Hi @amstyes ,

     

    try this:

    set the below formula for onScan property:

    ClearCollect(collectMultiScan, {QRCode: BarcodeScanner1.Value, WhoScanned: User(). FullName, WhenScanned: Now()})

    Then on submit button to add to SharePoint list do the below:

    ForAll(collectMultiScan,
    Patch('AED Results', Defaults('AED Results'),{Title: QRCode,Who: User().FullName, Date: Now()}))


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • amstyes Profile Picture
    8 on at

    Okay so that didn't work but i think it's because I have a LOT more going on in these formulas.  I've created a word document with screen shots and all my formulas included.  I really appreciate any help that you can provide.  I'm a fairly new user but had this working great last week and then it just stopped.

  • Verified answer
    KrishnaV Profile Picture
    5,023 on at

    Hi @amstyes ,

     

    Please try this:

    ForAll(
     collectMultiScan,
     Patch(
     'AED Results',
     {
     'Equipment Type': EquipmentDropdown.Selected.Result,
     Location: LocationDropdown.Selected.Result,
     'QR Code': If(
     'Manual entry'.Text = Blank(),
     QRCode, // this is the change I made
     'Manual entry'.Text
     ),
     Date: Now(),
     Who: User().FullName,
     '1) Verify that the pads (primary and backup) are NOT expired.': Radio2.Selected.Value,
     '2) Verify that the battery (primary and backup) is NOT expired.': Radio2_1.Selected.Value,
     '3) Is the AED in the designated location?': Radio2_2.Selected.Value,
     '4) Confirm there are there NO obstructions blocking the AED?': Radio2_3.Selected.Value,
     '5) Remove the battery from the AED and re-insert it. This will initiate the function check. Answer the prompts and document here whether it passes or fails the fucntion check.': Radio2_4.Selected.Value,
     '6) Confirm Equipment Inventory.': Radio2_5.Selected.Value,
     '7) Confirm AED is properly labeled and legible.': Radio2_6.Selected.Value,
     Comments: TextInput2.Text
     }
     );
     Navigate(
     'Success Screen',
     ScreenTransition.Fade
     );
     Reset(Radio2);
     Reset(Radio2_1);
     Reset(Radio2_2);
     Reset(Radio2_3);
     Reset(Radio2_4);
     Reset(Radio2_5);
     Reset(Radio2_6);
     Reset(TextInput2);
     Reset('Manual entry')
    )


    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    Krishna
    If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard