web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate / renam...
Power Automate
Answered

Power Automate / rename columns sharepoint list

(0) ShareShare
ReportReport
Posted on by 45

Hi 

 

Please , i would like to rename some columns of a sharepoint list  using a flow power Automate . 

Is it possible ? 

I saw the function send HTTP in a posted topic but i don't know how does it works.

 

Thanks

I have the same question (0)
  • Verified answer
    Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @jpr23 

     

    Here is sample flow:

    Kaif_Siddique_0-1676576200605.png

     

    Uri:

    _api/web/lists/getbytitle('<List Name>')/Fields/getbytitle('<Old Column Name>')

     

    Headers:

    { "Accept": "application/json;odata=verbose", "Content-Type": "application/json;odata=verbose", "IF-MATCH": "*", "X-HTTP-Method": "MERGE" }

     

    Body:

    {
    '__metadata': {
    'type': 'SP.List'
    },
    'Title': '<New Column Name>'
    }

     

    If I have answered your question, please mark my post as Solved.

    If you like my response, please give it a Thumbs Up.

     

    Regards

    Kaif

  • jpr23 Profile Picture
    45 on at

    Hi 

     

    it works well ..thank you  very very much !!!!

    I notice that the column is renamed but the initial name of the column is still the same.

     

    I have  two further questions before closing the topic :

    1) If the flow doesn't find the column name an error occure and then the  flow is stopped. How can i test that to avoid the stop ?

    2) if i want to rename many columns , do i have to copy the send HTTP request  again and again or can i send one request for all ?

     

    Thanks..

     

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    1) If the flow doesn't find the column name an error occurs and then the  flow is stopped. How can i test that to avoid the stop ?

    --> get columns list from SharePoint and check required column name exist or not.

     

    2) if i want to rename many columns , do i have to copy the send HTTP request  again and again or can i send one request for all ?

    --> loop it.

  • jpr23 Profile Picture
    45 on at

    thanks , yes of course i can have a loop "apply to each" . So I defined 3 variables .

    but what is the syntax to replace list_name , old_colum_name et new_column name by these variables  in the request please ? 

    _

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Store the old column name and new column name in excel/sharepoint list. Now get the values(i.e. old and new column) and loop it.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard