In the standard library for site pages I would like to configure a template for the content type "site pages".
In the settings menu under library settings -> list content type -> advanced settings there is a option "Template: Specify the document template for this content type.".
By default the path "/_layouts/15/CreateSitePage.aspx" is in there.
Is it possible to use a different site page template there?
On the start page there is a template that I have created. But I only get this for selection if I open the "new menu" from the start page and select page. Then a mask opens and I can choose my own template. If I'm in the standard page library for site pages, I can choose the content type:
- Site page <----Here I would like to set my template.
- New provisioning page
- Wiki page
- Web page
Users should simply get this template open when they click on "Site page" in the library.
My failed attempt: I simply uploaded as a document template the template (.ASPX page) I created in my website library and which is selectable on the start page. After I uploaded it and updated the page, the file name of my template is now in this textbox:
But when I now try to create a new "Websiteseite" via the "New menu", I get the following error:
Object reference not set to an instance of an object.
When I click on "Edit Template", I get the following message: "Edit Document requires a Microsoft SharePoint Foundation compatible application and Microsoft Internet Explorer 7.0 or higher".