Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Planner
    • Outlook
    • SharePoint
    • Teams
  • Triggers
  • Resources
  • ABOUT ME
  • Get help with your flow
Menu

Update single SharePoint multiple choice column with Power Automate

Posted on June 23, 2021February 2, 2022 by Tom

“The HTTP request works fine for update of single selection columns, but what about multiple selection choice column, how can I update it in Power Automate?”


If you build flows on big SharePoint lists with many columns, it might be challenging to update the items. Especially if the list contains many mandatory columns. The standard Power Automate action ‘Update item’ will ask you to update all the mandatory fields and it doesn’t matter that you want to update just a single column. That’s why it’s useful to use HTTP request to update only that one column. I already wrote about the request in general and how to update people picker column. This post will show you how to update another “special” column, the multiple choice column.

HTTP request to update multiple choice column

The HTTP request is the same as for the other SharePoint columns, the difference is again only in the <ValueToUpdate> part.

Method: POST

Uri: _api/web/lists/GetByTitle('<ListName>')/items(<ItemID>)/validateUpdateListItem

Body:
{
    "formValues":[
	{
	    "FieldName": "<FieldToUpdate>",
	    "FieldValue": "<ValueToUpdate>"
	}
    ]
}

If it was a single choice column, or if you updated only 1 choice, you’d use the value directly.

"FieldValue": "Choice 1"

But if it’s a multiple choice column and you want to update multiple choices, you must place them all into the <ValueToUpdate>. And you must use the right format for it. The validateUpdateListItem function expects the values separated by ;#.

"FieldValue": "Choice 1;#Choice 2"

It’s important to notice that it’s just a string, not an array like when updating for example multiple people picker. Even if the source of the values is an array, you must convert the array into a string separated by ;#.

Power Automate update multiple choice column

SharePoint will translate the ;# as a separator between choices and select them in the item.

Summary

Using the HTTP request can save you a lot of work, but it’s not always easy to understand its input. But once you get the right format, you can use Power Automate to update the multiple choice column too. In this situation it’s the unique separator ;# between the multiple choice values.


Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

1 thought on “Update single SharePoint multiple choice column with Power Automate”

  1. Gregorio says:
    August 16, 2022 at 6:36 pm

    Thank you very much for the information in this article, there is not much information on the web about this specific topic.

    I was doing tests and I already managed to update multiple options to my SharePoint choice
    column from power automate with the “Send HTTP request method”.

    I just have add one thing and is that you have to make sure you to have the “allow multiple selection” option enabled in the column in sharepoint list.

    Thank a lot.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Do you know what to do, but not how to do it?

Get The Ultimate Power Automate expressions cheat sheet and translate your thoughts into flows with ease!


There's also the HTTP requests to SharePoint cheat sheet to help you overcome limitations of some standard actions!

Do you struggle with the various expressions, conditions, filters, or HTTP requests available in Power Automate?

I send one email per week with a summary of the new solutions, designed to help even non IT people to automate some of their repetitive tasks.

All subscribers have also access to resources like a SharePoint Filter Query cheat sheet or Date expressions cheat sheet.

Zero spam, unsubscribe anytime.

Didn't find what you were looking for?
Need to adjust a solution to fit your needs?
Or would you just like to get an assistance from somebody with 1000s of hours of experience with Power Automate?

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2023 Let's POWER Automate | Theme by SuperbThemes