Create Page from Page Template

How to create a Page from a (custom) Page template in a SharePoint Online site using a Power Automate flow.

URI

Headers

Body



Screenshot with example

Below are a bit more details about the values used in this example. Hopefully that helps in configuring the right body payload.

PropertyValueDetails
NameSample7583.aspx(File) Name of the new Page
SiteIdcontoso.sharepoint.com,15ec34b0-5d50-4d83-8235-eb2bc48d8799,062116f0-a749-4dbd-a6c0-f771d8ea4ec9Variable used in the URI
TemplateId255b5793-519b-4fb3-ba30-55e15bdb1919Guid of the Page Template
TitleSample7583Title of the new Page
createpagefrompagetemplate

Expected response

Will return the details of the new page.

Copy/paste example

Resources

sitePage: createFromTemplate


That’s it, Happy testing!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.