First, there's still possible to create blank sites by using PowerShell:
-
Run the command Get-SPWebTemplate to get the full list of the available templates. You can see, the Blank Site template is still there, and it's ID is STS#1:
-
From this point, creating a new site collection is as easy as this:$template = Get-SPWebTemplate "STS#1"New-SPSite -Url "<URL for the new site collection>" -OwnerAlias "<domain\user>" -Template $template
<Configuration ID="1" Title="Blank Site"
Hidden="TRUE"
ImageUrl="/_layouts/15/images/stbs.png?rev=23" Description="A blank site for you
to customize based on your requirements." DisplayCategory="Collaboration"
AllowGlobalFeatureAssociations="False" > </Configuration>
Here you go: just change the highlighted tag from Hidden="TRUE" to Hidden="FALSE", save the file, and
that's it: next time you want to create a new site, you'll get the Blank Site
Template:
No comments:
Post a Comment