Hello everyone,
I am new to Power Apps and I am trying to create an app that allows multiple barcode scans to be submitted at once, creating a SharePoint folder for each scanned case number.
Currently, I am able to scan one case at a time and create a folder using Power Automate, but I am looking for a way to improve the app to handle multiple scans and create folders for each case number in one submission.
My single scan has the "Scan" button with the following:
OnScan = atch(Cases, {Title: BarcodeScanner3.Value, BarcodeType: BarcodeScanner3.Type, ScannedPerson: User().FullName, ScannedTime: Now()});
Set(scanValue,BarcodeScanner3.Value)
The text input is just having the var "scanValue", and the i finish it off with another button (Create folder) with the following:
CreateSPfolder.Run(TextInput1.Text) && Set(scanValue, "")
Its working but its slow if we receive 10 cases at one time.
I saw this video https://www.youtube.com/watch?v=SSu95JPECl4 and tried to do something similar, i am able to get the collection into my SP list, but i cant figure out how to make the multi scan into folders.
I have tried using a gallery to collect the scans, but I am struggling to figure out how to turn the scanned values into folders.
I am looking for a solution that allows me to create folders with the scanned values' names, clear the gallery, and also parse the collection to a SharePoint list when I press the submit button.
Is this possible and does anyone know how to do this? Thank you in advance for your help.
Hi @Diditagain ,
Glad to see you solved the problem. You could mark your answer/solution as a 'Solution' to allow more people with the same problem to solve their own problem as quickly as possible. Thank you so much!
Best Regards,
Dezhi
I found a solution. I was thinking too much about Power Apps.
I used the data from the list i was able to create, from there I used a Automated Flow in Power Automate to create the folders.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional