Forum Discussion
Direct link to a specific page template in communication site
(and Christoph1085 JohnMoore33 )
I've been looking into this pretty heavily, and I might start my own question for it as one of my approaches (will not list here yet) seems to be valid and not in any opposition to any Microsoft rules or values. As in, it's not a hack, but it might actually be a 'broken' part of MS' infrastructure right now.
Within the confines of this particular workflow / way of thinking, though ...
It's In The ASPX ... I Think
The 'CreateSitePage.aspx' as far as I can see it actually sends a POST request to make a draft page with a random unique file name (until the name is changed), the page is then generated using either:
- Something called the 'Article' page type (something I saw in a JSON value somewhere)
- The BlankWebPartPage.aspx file ... which might only be accessible if you turn on the publishing workflows
So ... I'm wondering if it's worth either:
Edit The Blank Web Part Page
So, make the changes needed to the BlankWebPartPage.aspx file based on changes made to your template, then saving that, and turning of the publishing features of the site.
Theoretically, that should make CreateSitePage.aspx use the desired template.
Theoretically.
Do Something With Article Pages
Alternatively, work out whatever this 'article' page is, and ensure that whatever that is is configured how you need.
This would require a bit more looking into ... however, IRRC I found it by watching the new requests in the browser page inspector.