Background on what I'm trying to do; I have a landing page which has buttons that take users to each of the buildings on our site. When the user clicks on a button to a building it takes them to a checklist. As part of this checklist we collect temperature readings in each of these buildings. What I'm trying to do is to patch all of the temperature readings from each of the buildings to a SharePoint List. We gather the temperature readings by using a slider, I've also got a textbox next to the slider as a display for the temperatures we record. In my SharePoint List, I've created columns that correspond to each fo the readings that we take, the columns are formatted as a single line of text. I cannot get the patch function to work and I'm testing just one slider field at the moment (I probably have about 25 fields that I'll need to patch).
I'm using this code on my OnSelect on the Submit Readings button: Patch(FacilitiesChecklist,Defaults(FacilitiesChecklist),{HeadworksUpperLevelAirTemperatureMinimum:UpperLevelMinAirTempSlider.Selected.Value})
I'm getting the error "The specified column 'HeadworksUpperLevelAirTemperatureMinimum' does not exist." and "The Function 'Patch' has som invalid arguments."
I have my SharePoint List FacilitiesChecklist connected as a datasource and it has the column "HeadworksUpperLevelAirTemperatureMinimum". I'm guessing my error could be that it's trying to take the slider value and cannnot put it into a text field?
So I tried updating it to use the textbox field: Patch(FacilitiesChecklist,Defaults(FacilitiesChecklist),{HeadworksUpperLevelAirTemperatureMinimum:UpperLevelMinAirTempTextbox.Text})
I then get the same errors.
Please help, I'm at a loss.
Thanks!