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 Scanner in Edi...
Power Apps
Answered

QR Code Scanner in Edit Form

(0) ShareShare
ReportReport
Posted on by 9

Hello,

 

I have a list in SharePoint. This list contains a couple of field like name, date and user and a textfield SerialNumber. My goal is to give user the option to view the list using galery and then the posibility to edit records using standad EditForm. Now specifically for the textfield Serial Number I would like to give the option to type it manualy OR using a QR Code Scanner. 

 

How can I configure the button so that when the onScan function is performed, then it will update the input field. And Then if user is finished. He will click confirm button and update the record in MS List in Sharepoint.

 

Thanks for any help.

EndyCZ_0-1673011119482.png

 

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,654 Super User 2026 Season 1 on at

    Hi @EndyCZ ,

     

    Try setting the Default property of the DataCardValue to:

     

    Coalesce(QRScanner.Value, Parent.Default)

     

    Then in the OnScan property of the QR scanner, insert:

     

    Reset(DataCardValue)

    Like this, when you scan, the value in the form will update.

     

    To prevent this solution from affecting other items that may be created/edited afterwards, insert Reset functions for the QRScanner in the appropriate places. Where those places are depends on your app, so I can't tell.

  • EndyCZ Profile Picture
    9 on at

    @BCBuizer You are genious. Thanks a lot. Never thought about it like this.

  • EndyCZ Profile Picture
    9 on at

    Maybe one thing. I had to use ThisItem instead of Parent.Default but this works like a charm.

     

    Coalesce(BarcodeScanner1.Value, ThisItem.'Serial Number')

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 627

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard