Sometimes we need to modify the out-of-the-box templates to deploy an entire site hierarchy based on the designed architecture. There situations require a code-based approach; many times we can simply create our site template modifications in SharePoint's graphical user interface and then deploy the site hierarchy with a PowerShell script, avoiding the more complex development and code lifecycle issues.
In this article helps to accomplish the following tasks
Create and Configure a Web Template
Modify and Deploy a Web Template for Global Farm UseThe web template created above has been deployed to the site collection sandbox solution gallery. This means that it can now create new sites within that site collection only. But our aim is to build a hierarchy of sites in a new site collection, modify the web template in Visual Studio and deploy it to the farm.
Our last task is to create a hierarchy of sites using the template we modified in step 2 and create a PowerShell script that we develop. The following is the site taxonomy that we need to produce:Normally, you would create this type of hierarchy at the root (/) of a Web application, but simply use the managed path/sites for convenience in your development environment.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: