In SharePoint 2010 when we want to create a blank Site/ sub site it is possible to choose blank site templates. But in SharePoint 2013 blank site template is not displayed in the selection the blank site template is not visible in SharePoint, because its “Hidden” property is set to true, is there are two ways configuration to be made to make blank site template to be available for selection.
Read some SharePoint 2013 tutorials below:
- Enable Sign in as Different User Option in SharePoint 2013
- Make People Picker read only in SharePoint 2010 list form using jQuery
- Get manager of current SharePoint user using SPServices and GetUserProfileByName
The two ways are:
– Using PowerShell.
– The server files.
– Browse to: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\1033\XML* Edit file: WEBTEMP.XML
– Locate this line of code : <Configuration ID=”1″ Title=”Blank Site” Hidden=”TRUE”
– Change Hidden=”TRUE” to Hidden=”FALSE”
If you open SharePoint 2013 central administration and click on “Create site collection” under Application Management, by default you will not be able to see “Blank Site” template under Collaboration category.
There are two ways:
1. 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:
The complete script would be
$s = Get-SPSite “<URL of your Site Collection>”
$template = Get-SPWebTemplate “STS#1”
New-SPSite -Url $s -OwnerAlias “<domain\user>” -Template $template
2. The easiest way to permanently add blank site template is through the server files.
“C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\1033\XML\WEBTEMP.XML”
<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>
Change the highlighted tag the Hidden=true to false and you’re good to go.
Now you can see “Blank Site” template option under Collaboration tab like above.