Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint Foundation 2010
Applies the specified site definition or site template to the website that has no template applied to it.
SP.Web.applyWebTemplate(strWebTemplate);
Parameters
strWebTemplate
Type: string
The name of the site definition or the file name of the site template.
Remarks
This method applies the specified site definition or site template to the website.