Hello,
Sorry for asking this question. I'm trying to find an answer but i don't seem to find the right answer.
I'm trying to use an HTTP Request action to update a choice field on an item.
Field is called "Status". Values of the field are "Level 0", "Level 1", "Level 2".
I'm trying to update the Status of a specific item to "Level 2"
I tried several thing and finally ended up with this but still have an error
Could someone help me on this and tell me what's wrong in what i'm doing ?
Thanks a lot for your help
For anyone who wants to do a multi-choice column, I spent too long trying to find a solution. Hopefully, it helps someone else out there.
Just do everything else that @Kadd did and use the syntax below.
{
"yourColumnName": ["Test1", "Test2", "Test3"]
}
OK !! i think i did it....well from my test it works.
In fact, it's the same as updating a simple text field. I decided to get back to the action's configuration for a simple text field and readapted from that point. I could do this for a text field earlier today but thought it would be different for choice fields...first because of the things i found on the net and second because in Powerapps when using functions, choice fields need a complex block. (complex for me cause i never remember how to write it). So i've been a bit stupid, i didn't test that before and i'm sorry i disturbed you all.
For those who might be interested, this is the solution
Voila ! 🙂
Hello @mahoneypat ,
Thanks a lot for your reply.
I found these sites earlier and tried to arrange something with what but they use Create/ Update item actions (using these actions i know how to do it).
The thing is i'm trying to do the same with an HTTP request. I couldn't manage to apply what i read on the sites to an HTTP Request action. (if you look at my screenshot, you will see i use an odata.type ...that i tried to use from the second site you gave me (after trying other ways) because my last error message was saying that the type is not defined.
so i'm still a bit stuck.
Thanks and regards
Please see these articles for how to do this.
Update a multi select choice field in a SharePoint list with Power Automate (sharepains.com)
Microsoft Flow - populate a multi choice field in SharePoint - Office 365 Basics
Pat