How to Create a ProductCatalog SubSite using PowerShell in SharePoint 2013


Sathish Nadarajan
SharePoint MVP
Published On :   28 May 2014
Visit Count
Today :  4    Total :   10418



There is a new template called ProductCatalog has been introduced on SharePoint 2013. There are many unique features with this site template. For example, for the product centric sites, this template will be very much useful.

I was using this template to create a Site Collection many times. This template is readily available on the Select Template section itself while creating it as a Site Collection.

image

But when trying to create this as a SubSite under my publishing site, I faced a hurdle that, there is no template available for this as far as considering it as a SubSite.

While trying to create a subsite, I get the following screen.

image

This can be created using PowerShell Script.

The below PowerShell Script will create the Product Catalog SubSite for us.

 $template = Get-SPWebTemplate "PRODUCTCATALOG#0"
 
 New-SPWeb -Url "https://sathishserver:20000/sites/ProductCatalogSite/ProductCatalogSubSite" -Name ProductCatalogSubSite-Template $template 
 

Happy Coding.

Sathish Nadarajan.

Categories