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 / Using UpdateIf functio...
Power Apps
Unanswered

Using UpdateIf function to update the value for a field normally set by dropdown

(0) ShareShare
ReportReport
Posted on by

I am trying to use the UpdateIf function to update a column that is normally set by the selecting of a value from a dropdown.

 

Here is what I am trying:

 

UpdateIf('Report Request List', ID = TemplateGalleryList1.Selected.ID, {Status = "Signed Off"})

 

I get the error: The type Text is invalid for column 'Status'; Record expected.

 

UpdateIfError.png

 

What does this mean please?

 

I suspect it's due to the type of column, because when I try the following with an integer column, it does not error:

 

UpdateIf('Report Request List', ID = TemplateGalleryList1.Selected.ID, {StatusCode = 5})

 

Any help would be most gratefully received.

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

    Hi @Anonymous,

     

    Are trying to update the value of a SharePoint column that is of type Choice? If this is the case, this post can help you with how to properly set the value of the column when trying to update it:https://powerusers.microsoft.com/t5/PowerApps-Forum/Solved-patching-to-SharePoint-choice-and-lookup-...

     

    Regards,

    Mona

     

  • Community Power Platform Member Profile Picture
    on at

    No, this did not fix it. I now get an error saying that the requested operation is invalid:

     

    UpdateIfError2.png

  • smolahloe Profile Picture
    7 on at

    Hi,

     

    I know it's a bit late but the answer is located here

     

    http://sharepointcookies.com/2019/11/power-apps-working-with-patch-and-sharepoint/

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard