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 / Scan and Store on Shar...
Power Apps
Answered

Scan and Store on Share Point

(0) ShareShare
ReportReport
Posted on by 2

Hello to all,

I'm trying to create a scanner that will read a barcode and transfer the numbers from that barcode along with the user name and date to a SharePoint List. I am totally blocked. I created a scan button and put the following formula but nothing works:

 

Patch(MARAM; {Item: BarcodeScanner1.Value; WhoScanned:User().FullName; Time: Now()})

 

 

Thanks in advance for your help.

 

Categories:
I have the same question (0)
  • Martini0 Profile Picture
    2 on at

    Is this an issue on the formula or on the share point app ? I'm not sure that I have the correct Patch formula. It says I should had a Title but I don't know what it is.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Martini0 ,

     

    When you create a list, the list will automatically generate a Title column. Please see the picture below:

    v-xiaochen-msft_0-1616550157560.png

    The value of this column is required.

    So,  you could try this formula:

    Patch(MARAM; {Title:"Test",Item: BarcodeScanner1.Value; WhoScanned:User().FullName; Time: Now()})

    But I suggest you write like this:

    Patch(MARAM;Defaults(MARAM);{Title:"Test";Item: BarcodeScanner1.Value; WhoScanned:User().FullName; Time: Now()})

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard