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

Update title in SharePoint SubPage using Power Automate

(0) ShareShare
ReportReport
Posted on by 165

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
    165 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard