web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patching Multiple Scre...
Power Apps
Answered

Patching Multiple Screens to a SharePoint LIst

(0) ShareShare
ReportReport
Posted on by 83

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!

Categories:
I have the same question (0)
  • v-siky-msft Profile Picture
    on at

    Hi @abonahoom ,

     

    According to error info and my test, it can be sure that there is something wrong with your column name. The system cannot match the corresponding column in SP list.

    Capture.PNG

    Have you ever rename that column name? Does the column name automatically prompt in formula bar when you enter the formula?

    Can you create a new column with simple name and try again to check if your issue is fixed?

     

    Best regards,

    Sik

     

  • Verified answer
    abonahoom Profile Picture
    83 on at

    Thank you for your response.  I got it figured out.  I think what caused this error is that I changed the SP fields from choice to text. 

  • v-siky-msft Profile Picture
    on at

    Hi @abonahoom ,

     

    If my post helps, please consider to click on “Accept as Solution” to help other members find it more quickly. If you thought my post was helpful, please give it a Thumbs Up.

     

    Best regards,

    Sik

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard