We have a pages library that has two content types: CustomLink and CustomPage. CustomLink is based on the Link to Document and CustomPage is based on the Page. Both add some metadata, but nothing particularly complex.
We don't like the current user experience for creating new items in our pages library and are looking to change how that happens. I see that creating a new link goes to _layouts/15/NewLink.aspx
. A new page goes either to _layouts/15/CreatePublishingPageDialog.aspx
or _layouts/15/CreatePage.aspx
depending if the user selects Add a page from the gear menu or New > CustomPage from the library's listview control bar or Ribbon.
In Library Settings > CustomPage > Advanced Settings I can change the document template. I was able to change the CreatePage one to the CreatePublishingPageDialog and at least now there is only one user experience for creating a new page. One that we don't like is better than two that we don't like, but we would prefer to set up our own document template!
I've searched for instructions on how to do this, but everything I find is about document libraries and setting up a .dotx or other office template. Like this MS documentation.
I can't seem to find anything about how to make a document template for a pages library. I'm only a Site Collection owner with now access to _layouts so I can't even reverse engineer the existing ones.
Anybody know how to create custom document templates for a pages library?
Edit
Just to be clear. I'm looking to replace this page with a custom page. We don't like that there is no connection between the content-type page you chose and its related page layouts here. We don't like that it then just dumps you back into the page library. There are so many things about this user experience.
Or this one, which doesn't give you the opportunity to choose the contenttype or pagelayout.