May 21 2019 09:03 AM
I am able to use "/_layouts/15/CreateSitePage.aspx" to access the default site page. Is it possible to obtain the direct URL for a specific template in site pages library? I am able to create a page template in my communication site. Instead of letting users to pick a template from featured or saved on this site, I'd like to create a link directly to a specific template so users can create new site pages with predefined components.
Thanks
Apr 09 2020 08:53 AM
Hello, just wondering if there came any luck in discovering a way to create direct link or button for a new site of a particular template?
Thanks
Alex
May 29 2020 06:54 AM
I'm looking for the same solution. I need something with a direct link create a new page based on saved template!
Jul 19 2021 04:15 PM
Jul 20 2021 02:50 AM
Nov 07 2021 10:52 AM
Mar 17 2022 05:35 AM
Jun 13 2022 12:44 PM
Jul 07 2022 06:03 AM
Has anybody an idea or solution for that?
Jan 30 2023 03:19 AM
(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 ...
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:
So ... I'm wondering if it's worth either:
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.
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.