PATCH A SharePoint Choices Column With Multiple Values In Power Apps
PATCH A SharePoint Choices Column With Multiple Values In Power Apps Goal Change the ColorsChoice column (Choices Type) from blank to the values “Blue”, “Whi...
- Published
- Reading time
- 1 min read
Before you start
Is this guide for you?
- Best entry point
- SharePoint
- Time investment
- 1 min read
Imported reference from Matthew Devaney's blog for learning purposes. Original: https://www.matthewdevaney.com/power-apps-patch-function-examples-for-every-sharepoint-column-type/patch-a-sharepoint-choices-column-with-multiple-values/. Author: Matthew Devaney.
PATCH A SharePoint Choices Column With Multiple Values In Power Apps Goal
Change the ColorsChoice column (Choices Type) from blank to the values “Blue”, “White” and “Red” Input Painting Jobs (SharePoint List) ID Address JobDate ColorsChoice 1 30 State Street 11/1/2020 Patch Function Code Patch(
'Painting Jobs' , LookUp( 'Painting Jobs' , ID= 1 ), {
ColorsChoice : [ { Value : "Red" }, { Value : "White" }, { Value : "Blue" } ] } ) Code language: JavaScript ( javascript ) Output Painting Jobs (SharePoint List) ID Item Amount Status 1 Steak Dinner 52.50 Red White Blue Scenario #1: ComboBox
Patch a value found in a combo box to a Choices field. Patch Function Code Patch(
'Painting Jobs' , LookUp( 'Painting Jobs' , ID= 1 ), {
ColorsChoice : ComboBox_Colors.SelectedItems } ) Code language: JavaScript ( javascript ) Did You Enjoy This Article? 😺
Subscribe to get new Copilot Studio articles sent to your inbox each week for FREE Enter your email address Sign Me Up
Tagged
Patch · SharePoint
Have a Microsoft 365 topic idea?
Share article suggestions, community session ideas, corrections, or real-world scenarios for future nextM365 learning notes.
Keep learning Microsoft 365
Explore more practical guides for SharePoint, Power Platform, Copilot Studio, migration, automation, governance, and security.
Continue learning
Related tutorials
Related questions
Related comparisons
Next action