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 / Update title in ShareP...
Power Automate
Unanswered

Update title in SharePoint SubPage using Power Automate

(0) ShareShare
ReportReport
Posted on by 177

Hi,

 

I am struggling to write a flow to be able to change the "Title" of a SharePoint site sub-page.

 

I have managed to write a script to create a SharePoint Sub-Page using the "Send an HTTP request to SharePoint"  with the Uri: /_api/web/webinfos/add

 

In another flow, I have used the Uri: /_api/sitepages/pages(@{outputs('Get_file_metadata_1')?['body/ItemId']})/CheckOutPage

to get the page and use the Uri: /_api/sitepages/pages(@{outputs('Get_file_metadata_1')?['body/ItemId']})/savepage

 

with the Body:

{
 'parameters': {
  '__metadata':
  {
   'type': 'SP.Web'
  },
  'Title': '@{variables('Project Name')}',
  'Description': '@{variables('Project Description')}',
  'Language': '1033',
  'WebTemplate': "STS#3"
 }
}

 

The JSON seems to be invalid.  I've been struggling with this for weeks now.  

 

Can't seem to find any posts explaining how to edit things in SharePoint site pages.

 

Any help is much appreciated.

 

Pete

 

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

     To update a Page Title your Type should be:

    "type": "SP.Data.SitePageItem"

    not

    "type": "SP.Web"

    @petewalburn

  • petewalburn Profile Picture
    177 on at

    No, sorry. This still does not work for me.  

     

    I've had to leave it for a bit as I've got loads of other things to do and this is a fairly minor issue.

     

    Thanks,

     

    Pete

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard