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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch Choice field fro...
Power Apps
Unanswered

Patch Choice field from powerapps to sharepoint

(1) ShareShare
ReportReport
Posted on by 364

Hi All,

 

i am trying to patch a choice field value to a sharepoint list on change

 

Patch(ListName,ThisItem,{UoM: Value('UoM.drpdwn'.Selected.Value)})
 
Can anyone advise on the above, i am having difficulty getting this to work.
 
Many thanks
Categories:
I have the same question (0)
  • egornua1 Profile Picture
    364 on at

    i made a change, no errors showing but the patch to sharepoint doesnt work.

     

    Patch(ListName,LookUp(ListName, ID=SharePointIntegration.SelectedListItemID),{UoM: 'UoM.drpdwn'.Selected})
     
    Can anyone advise?
  • developingteal Profile Picture
    392 on at

    Are you trying to update ThisItem or make a new row? If you are trying to update it, it seems mostly right. I would first double check the value needed in the sharepoint list, as currently you are passing a numeric value to it. Also verify that the .selected.value is giving what you actually want it to be. A good way to debug is to just make a textbox with that value, and see what it is giving you. 

  • egornua1 Profile Picture
    364 on at

    @developingteal  - thanks for your feedback. 

    i am making an update. i use a button to add the line to sharepoint then make the update.

    The values are MT | CS | EA within a choice field. i am unclear what you mean by passing a numeric value?

     

  • developingteal Profile Picture
    392 on at

    I was referring to the data type. Pretty much I was trying to double check that your data types match up. What is your current issue?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard