Hello all,
I'm attempting to build an app that will allow a warehouse associate to scan received boxes and ultimately upload the serial numbers from those boxes to a SharePoint list. Additionally, after scanning the boxes and creating the initial collection, I'd like to add the ability for them to select their location from a dropdown and have that create a column with the location data on each row in the collection
I have the app functioning up to this point:
Any help would be appreciated
Solved! Go to Solution.
Okay - I feel like I have this fixed now.
I did the following from a high-level:
ClearCollect(scannedNumbers,Split(scanned.Text,";"))
ClearCollect(submitNumbers, AddColumns(scannedNumbers,"location",'Loc.dropDown'.Selected.Value))
The code examples you provided would actually clear out all the scanning values. If you want to add the location information to each row in the collection try something like this:
AddColumns(scannedNumbers, "location" , LocationDropDown.Selected.Value)
You will need to change the name "LocationDropDown" to the name of your locations drop down control.
Thanks, I have this as the fx for the DropDown
AddColumns(scannedNumbers,"location",'Loc.dropDown'.Selected.Value)
but in the collection all I see is the value gathered at the first button select
Okay - I feel like I have this fixed now.
I did the following from a high-level:
ClearCollect(scannedNumbers,Split(scanned.Text,";"))
ClearCollect(submitNumbers, AddColumns(scannedNumbers,"location",'Loc.dropDown'.Selected.Value))