cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Badral
Helper I
Helper I

Add multiple value to sharepoint list by QRCode

Hello,

How to add multiple values from QRCode

I want to add Sharepoint list items

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @Badral ,

 

The ForAll formula would be applied on a button outside the Gallery, to submit to SP list. In Gallery's Items is that collection name "colItems" in my post.

 

I thought your QR code only contain one message, such as item name or something like, are those QR codes created by you? And you would like to make a code contains all 6 column values? If so, I think you could make QR code format as {ColumnName1:Value1,ColumnName2:Value2,ColumnName3:Value3,ColumnName4:Value4,ColumnName5:Value5,ColumnName6:Value6}

 

Then the patch formula could be:

Forall(colItems, Patch(SPlist, Defaults(SPlist), ThisItem)

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

4 REPLIES 4
v-jefferni
Community Support
Community Support

Hi @Badral ,

 

Could you please share more details about your scenario? What kind of items would you like to add to SP list? 

 

If one QRCode contains message of one item that needs to be uploaded to SP list, I think you could use a collection to collect QRCodes information, then you could Patch the collection to SP list.

 

Set the Barcode Scanner button's OnScan to:

Collect(colItems,Self.Value)

 

then you could use a gallery to display the collection, edit it as well like delete some items, then patch the collection on a button out of the gallery:

Forall(colItems, Patch(SPlist, Defaults(SPlist), {Title: Value})

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

Thank you for you reply. I have 6 column sharepoint list. I want to add entire row as one qrcode. Your suggestion might help. Could you explain qrcode value format? e.x: item1,item2,item3,... etc?

Badral
Helper I
Helper I

I tried your formula. 2nd formula gives behavior function error. What did i miss

Thanks

v-jefferni
Community Support
Community Support

Hi @Badral ,

 

The ForAll formula would be applied on a button outside the Gallery, to submit to SP list. In Gallery's Items is that collection name "colItems" in my post.

 

I thought your QR code only contain one message, such as item name or something like, are those QR codes created by you? And you would like to make a code contains all 6 column values? If so, I think you could make QR code format as {ColumnName1:Value1,ColumnName2:Value2,ColumnName3:Value3,ColumnName4:Value4,ColumnName5:Value5,ColumnName6:Value6}

 

Then the patch formula could be:

Forall(colItems, Patch(SPlist, Defaults(SPlist), ThisItem)

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,176)