Site
|
|
The template STS#3 indicates a Team Site with no connection to an Office365 Group.
Other populair template code are:
Code | Title | Description |
---|---|---|
STS#0 | Team Site (Classic) | A site with a classic experience |
STS#1 | Blank Site | A blank site for you to customize based on your requirements |
STS#3 | Blank Site | A site with no connection to an Office 365 Group |
GROUP#0 | Team Site | A team site connected to an Office365 Group |
SITEPAGEPUBLISHING#0 | Communication Site | Publish dynamic, beautiful content to people in your organization to keep them informed and engaged |
WIKI#0 | Wiki Site | A site for a community to brainstorm and share ideas |
PROJECTSITE#0 | Project Site | A site for managing and collaborating on a project |
BLANKINTERNET#0 | Publishing Site | This template creates a site for publishing Web pages on a schedule, with workflow features enabled |
SPSNHOME#0 | News Site | A site for publishing news articles and links to news articles |
The following templates are using a combination of entitites to create a basic site type.
- Classic Teamsite
- Subsite
- Office 365 Group
- Microsoft Team (Requires Make 5.0 or above)
- Microsoft Team with private channel (Requires Make 6.2 or above)
- Modern teamsite (without Office 365 group)
- Modern communication site
Site Properties
There are numerous properties that you can define on site level. In this chapter you see examples on how to apply those site properties.
-
Connect your site collection to a hubsite
If you would like to associate a hubsite to your (new) SharePoint site collection, you need to add the entity “HubSiteUrl” to the “Site” tag. The value of the entity “HubSiteUrl” would be the address of the HubSite. It would look something like this in your Make template:
1
<Site Url="{ββββββurl}ββββββ" Title="{βββββββββββββtitle}βββββββββββββ" OwnerLogin="{βββββββββββββsiteowner}βββββββββββββ" Template="STS#3" LCID="1033" StorageQuota="1024" TimeZoneId="4" HubSiteUrl="https://wmeurer.sharepoint.com/sites/hub">
AnΒ example of a template can be found here. Of course you need to change the value of the hubsite to your own hubsite.
-
Promote site as hubsite
It is possible to promote a site collection as hubsite via PowerShell. This can also be done via provisioning. In your Make template you need to add the property “IsHubSite” to the “Site” entity. It will look like this:
1
<Site Url="{βββββββββββββββββββββββurl}βββββββββββββββββββββββ" Title="{βββββββββββββββββββββββtitle}βββββββββββββββββββββββ" OwnerLogin="{βββββββββββββββββββββββsiteowner}βββββββββββββββββββββββ" Template="STS#3" LCID="1033" StorageQuota="1024" TimeZoneId="4"Β IsHubSite="True">