You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/declarative-customization/get-started-create-site-design.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ localization_priority: Priority
7
7
8
8
# Get started creating site templates and site scripts
9
9
10
-
You can create site templates to provide reusable lists, themes, layouts, pages (experimental), or custom actions so that your users can quickly build new SharePoint sites with the features they need.
10
+
You can create site templates to provide reusable lists, themes, layouts, or custom actions so that your users can quickly build new SharePoint sites with the features they need.
11
11
12
12
This article describes how to build a simple site template that adds a SharePoint list for tracking customer orders. You'll use the site template to create a new SharePoint site with the custom list. You'll learn how to use SharePoint PowerShell cmdlets to create site scripts and site templates. You can also use REST APIs to perform the same actions. The corresponding REST calls are shown for reference in each step.
13
13
@@ -107,7 +107,7 @@ The previous cmdlet creates a new site template named Contoso customer tracking.
| WebTemplate 1 |64| Team site (with group creation disabled) |
110
+
| WebTemplate 1 |1| Team site (with group creation disabled) |
111
111
| WebTemplate | 68 | Communication site template |
112
112
113
113
@@ -123,18 +123,18 @@ Now that you've added a site script and site template, you can use it to create
123
123
124
124
1. Go to the home page of the SharePoint site that you are using for development.
125
125
1. Choose **Create site**.
126
-
1. Choose **Team site**. SharePoint will create a team site using the Microsoft **Team collaboration template**.
126
+
1. Choose the type of site you need to use. SharePoint will create a team site using the Microsoft **Team collaboration template** or a communication site using the Microsoft **Topic** template unless another custom site template is set as default.
127
127
2. Choose **Next**.
128
-
7. Choose **Finish**.
129
128
4. In **Site name**, enter a name for the new site **Customer order tracking**.
129
+
7. Choose **Finish**.
130
130
5. Next, go to **Settings** and select **Apply a site template**.
131
131
5. Select the site template you just created.
132
-
8.A progress bar will be display indicating that your new template is being applied.
132
+
8.Once applied, your new template will display under the tab in the template viewer titled **From your organization.**
133
133
9. When the new template has been applied, you will see the custom list on the page.
134
134
135
-
### Apply to an existing site collection
135
+
### Apply to an existing site
136
136
137
-
You can also apply a published site templates to existing sites. On the home page of the site, site owners can navigate to **Settings** and then **Apply a site template** to browse and apply templates provided by your organization and Microsoft.
137
+
You can also apply a published site template to existing sites. On the home page of the site, site owners can navigate to **Settings** and then **Apply a site template** to browse and apply templates provided by your organization and Microsoft.
138
138
139
139
You can apply templates to existing site collections in bulk by using the [Invoke-SPOSiteDesign](/powershell/module/sharepoint-online/Invoke-SPOSiteDesign) cmdlet.
Copy file name to clipboardExpand all lines: docs/declarative-customization/site-design-overview.md
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ localization_priority: Priority
10
10
> [!NOTE]
11
11
> - Site templates and site scripts are currently only supported by SharePoint Online.
12
12
> - In previous versions of SharePoint, site templates were called site designs but will be referred to as site templates moving forward.
13
-
> - SharePoint has a new site template experience that will be available to all SharePoint user with permissions to create SharePoint sites. [Learn more about the new site template experience](https://support.microsoft.com/office/apply-and-customize-sharepoint-site-templates-39382463-0e45-4d1b-be27-0e96aeec8398?ui=en-US&rs=en-US&ad=US).
13
+
> - SharePoint has a new site template experience that will be available to all SharePoint users with permissions to create SharePoint sites. [Learn more about the new site template experience](https://support.microsoft.com/office/apply-and-customize-sharepoint-site-templates-39382463-0e45-4d1b-be27-0e96aeec8398?ui=en-US&rs=en-US&ad=US).
14
14
> - As of today, the site template experience cannot be disabled.
15
15
> - Site templates created by your organization and set as the default template will automatically apply when new sites are created but can be updated by the site owner by selecting **Settings** and then **Apply a site template.**
16
16
> - Site template version history is not currently available for the new site template experience but will be included in future iterations.
@@ -33,18 +33,17 @@ You create site templates and register them in SharePoint to one of the modern t
33
33
34
34
You'll see the two modern template sites: **Team site** and **Communication site**.
35
35
36
-
3. Choose **Communication site**.
36
+
3. Choose the type of site needed.
37
37
38
38
- SharePoint will automatically create a communication site using the **Topic** site template.
39
39
- Had you chosen the default Team site, SharePoint will create a new site useing the **Team collaboration** template.
40
40
41
41
For more information about how you can change the default site templates, see [Customize a default site template](customize-default-site-design.md).
42
42
43
-
When a site template is selected, SharePoint creates the new site, and runs site scripts for the site template. The site scripts provide the details for the template such as creating new lists or applying a theme. These script actions are run in the background. When the scripts are complete the page will refresh to display the site script details.
43
+
4. Navigate to the **Settings** icon, and select **Apply site template** to review Microsoft-provided site templates based on the type of site you chose in step three.
44
44
45
-
The site template information panel can be invoked by a site owner at any time to see what site templates have been applied to the site (and their script details) as well as to apply new or updated site templates. When the actions in the scripts are completed, SharePoint displays detailed results of those actions in a progress pane.
45
+
When a site template is selected, SharePoint creates the new site, and runs site scripts for the site template. The site scripts provide the details for the template such as creating new lists or applying a theme. These script actions are run in the background. When the scripts are complete the page will refresh to display the site script details.
46
46
47
-

48
47
49
48
> [!NOTE]
50
49
> Site templates can now be applied to previously created modern site collections. For more information, see the [REST API](site-design-rest-api.md) and [PowerShell](site-design-powershell.md) articles.
@@ -127,8 +126,8 @@ Each action in a site script is specified by a **verb** value in the JSON. In th
127
126
For a complete list of available actions and their parameters, see the [JSON schema](site-design-json-schema.md).
128
127
129
128
> [!NOTE]
130
-
> ** These actions are automatically blocked for channel sites
131
-
> For libraries and lists, use the PowerShell command [Get-SPOSiteScriptFromList](/powershell/module/sharepoint-online/Get-SPOSiteScriptFromList) to create the site script syntax from an existing SharePoint list.
129
+
> - Actions marked with **are automatically blocked for channel sites.
130
+
> -For libraries and lists, use the PowerShell command [Get-SPOSiteScriptFromList](/powershell/module/sharepoint-online/Get-SPOSiteScriptFromList) to create the site script syntax from an existing SharePoint list.
132
131
133
132
Site scripts can be run again on the same site after provisioning. Site scripts are non-destructive, so when they run again, they ensure that the site matches the configuration in the script.
134
133
@@ -234,12 +233,12 @@ In the previous example, the **Add-SPOSiteScript** cmdlet or **CreateSiteScript*
0 commit comments