Create page from template save location

Aviso Admin 0 Reputation points
2023-09-26T18:05:51.1966667+00:00

On SharePoint Online we added a new content type to site pages that creates a new page from template. This allows us to choose a template to create the new page. We are using the following url in the content type /_layouts/15/CreatePageFromTemplate.aspx.

To use this, we navigate to the required folder and create the page from the New menu by selecting the content type. In the example below we navigating to meeting minutes. The problem is when the page is saved it always saves to the root of site pages. Is there a parameter or other method to have the new page save in the current folder? thank-you

Microsoft 365 and Office SharePoint For business Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2023-09-27T02:48:04.62+00:00

    Hi @Aviso Admin ,

    You can modify the URL of the content type that creates the new page from the template. You can add a parameter called RootFolder that specifies the folder where you want to save the page. For example, if you want to save the page in a folder called Meeting Minutes, you can use this URL: /_layouts/15/CreatePageFromTemplate.aspx?RootFolder=/SitePages/Meeting%20Minutes.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Xyza Xue_MSFT 30,176 Reputation points Microsoft External Staff
    2023-09-28T06:22:16.7333333+00:00

    Hi @Aviso Admin ,

    Sorry for the late reply. When I received the comment, I searched a lot of documents did a lot of researches. And I feel regretful to inform you that it turns out to be a by-design one. It cannot automatically point to the current folder.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.