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 / 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

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 739 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 268

Last 30 days Overall leaderboard