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 Automate / Updating SharePoint ch...
Power Automate
Unanswered

Updating SharePoint choice column with Send an HTTP Request

(0) ShareShare
ReportReport
Posted on by 26

I have a sharepoint site with 100's of documents. For each document a single value has to be selected from a choice column. I now need to change the names of the values in this column. I modified the column values but they do not propagate to the documents. When you create a new document you can choose the new value but old documents still have the previous value. I either have to edit each document and manually choose the new value OR write a flow/power automate process to do this for me. 

 

I am in the process of writing the Flow but am completely stuck. The basics of what I want to do is replace the old value with the new value for each document. Please note that not all values need to be updated, only 2 of the three. 

Example: 

Column Name: Responsible Person (which is seen as '_x0043_ol1' in my screen shot)
Values: Choice A, Choice B, Choice C
New Values: Choice A2, Choice CB, Choice C

When I run this the error tells me that "Input string was not in a correct format."

wojcika_1-1651265381616.png

 

I also need this process to go through all documents in the site and perform this action. 

 

Any help would be greatly apperciated.

 

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,690 Moderator on at

    Hi there, 

     

    Sure - can I ask why you're using an HTTP call instead of just an Update File Properties? Did you run into an issue with it? 

    Also, how many potential replacements is there? I understand it's 2 fields - but - Is it really just three potential options to be put into those 2 fields (for all files), or are there many? Do you have a matrix set in another list?


    For example...

     

    ID | OldColumnA | NewColumnA | OldColumnB | NewColumnB

    1 | ValueA | ValueA1 | ValueB | ValueB1

    2 | ValueC | ValueC1 | ValueD | ValueD1

     

    If it really is just 3 options - ie that table above would only go to an ID of 3, then that's fine.. but.. if that ID would go to 100............ need to know the specifics to get the right solution for your need.

     

     

  • wojcika Profile Picture
    26 on at

    Hi!

    Thank you so much for the response! 

     

    I was using HTTP based on this article: https://tomriha.com/update-single-sharepoint-column-in-power-automate-with-http-request/#comment-5976

     

    I didn't know where to start with updating the site and this article seemed to fit, however, if Update Properties is my best choice I will go with that. I am a bit green to using Power Apps so bare with me as I explain what I need to accomplish. 

    I have 100+ documents in a SharePoint site. I have a single choice column with 11 options. Each document is assigned one of the 11 choices. Now I need to update the name of 2 of the 11 choices. 

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard