cancel
Showing results for 
Search instead for 
Did you mean: 
rampprakash

#6 Scan Multiple Barcode at Once using PowerApps.

Implementation Process:

 

SharePoint:

 

1. Navigate to office.com

 

2. Click SharePoint (if SharePoint List Already Available Copy the List Name else follow from Step #3)

 

3. Click Create Site then Team Site

 

rampprakash_0-1633345239378.png

 

4. Site then Input the Site Name and Owner and Privacy Setting as PUBLIC

rampprakash_1-1633345304964.png

 

4. Click Next for completion of Site Creation

 

rampprakash_2-1633345367446.png

 

5. Click New then Click List and Select Blank List then Click Next and Input the Name and Create.

 

6. Copy the SharePoint Browser URL.

 

PowerApps:

 

1. Navigate to https://make.powerapps.com

 

2. Then Click on Apps

 

3. Click New and Select Canvas App

 

4. Once Page Opened Click on App and write the below Code

 

              getMultipleBarCodes --> to Collect Values after Scanning

 

 

 

 

ClearCollect(getMultipleBarCodes,Blank())

 

 

 

rampprakash_0-1633345525871.png

 

5. Add a Gallery and Set the Item for that Gallery as getMultipleBarCodes

 

rampprakash_1-1633345627696.png

 

6. Add a Barcode Button Insert --> Media --> Barcode Scanner

 

rampprakash_2-1633345683083.png

 

7. Select the Scan Button and in On Scan Operation write the below code ( if the Scanned code already exists then Throw Error else Collect the information)

 

 

 

 

If(CountRows(Filter(getMultipleBarCodes,Value=BarcodeScanner1.Value))>0,Notify("Scanned Barcode already Exists"),Collect(getMultipleBarCodes,BarcodeScanner1.Value));

 

 

 

 

8. Click on Data source then Select SharePoint then Input the copied URL and select the List

 

9. Click OK.

 

10. Add a Button 

 

rampprakash_3-1633346028817.png

 

11. Rename as Submit and write the below code in On Select of that button

 

 

 

 

ForAll(getMultipleBarCodes,Patch('BarCode List',Defaults('BarCode List'),{Title:Value}))

 

 

 

 

12. Save and Publish the App.

 

That's it. This is how we need to use Multiple Barcode Scanning with PowerApps.

 

Video for your Reference : To Subscribe

 

Comments