Skip to content

Commit 358939d

Browse files
committed
TOC title update and content clean up
1 parent 06913b4 commit 358939d

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

docs/declarative-customization/site-design-json-schema.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Site template JSON schema
33
description: JSON schema reference for building site templates for SharePoint.
4-
ms.date: 09/24/2021
4+
ms.date: 01/27/2022
55
ms.localizationpriority: high
66
---
77

@@ -24,11 +24,11 @@ The overall JSON structure is specified as follows:
2424
}
2525
```
2626

27-
You can view - and reference - the latest schema here: https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json
27+
> [!TIP]
28+
> You can view - and reference - the latest schema here: https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json
2829
29-
#### Applying site temlpates multiple times
30-
31-
**Actions** can be run more than once on a site. Rerunning **actions** on the same site with the same parameters will result in an update to the existing schema and not duplication of schema.
30+
> [!NOTE]
31+
> **Actions** can be run more than once on a site. Rerunning **actions** on the same site with the same parameters will result in an update to the existing schema and not duplication of schema.
3232
3333
## Create a new SharePoint list
3434

@@ -37,7 +37,7 @@ Use the **createSPList** verb to create a new SharePoint list.
3737
> [!NOTE]
3838
> Once **createSPList** is applied on a site, runnning the **createSPList** with the same list name will act as an update to the existing list.
3939
40-
#### JSON values
40+
### JSON values
4141

4242
- `listName`: The name of the list.
4343
- `templateType`: Which template to apply to the list. Typically you would use value 100. The full list of template type values is documented in [SPListTemplateType enumeration](/previous-versions/office/sharepoint-server/ms413878(v=office.15)) - but the ones we currently support include:
@@ -152,7 +152,7 @@ Deletes a default field that was provided by the selected template type.
152152

153153
### addSPFieldXml
154154

155-
Enables defining fields and their elements using Collaborative Application Markup Language (CAML). For reference, see [Field element (Field)](https://docs.microsoft.com/sharepoint/dev/schema/field-element-field). Providing the ID attribute in the field schemaXml is important in order to prevent the field from being created multiple times if the script is run more than once.
155+
Enables defining fields and their elements using Collaborative Application Markup Language (CAML). For reference, see [Field element (Field)](/sharepoint/dev/schema/field-element-field). Providing the ID attribute in the field schemaXml is important in order to prevent the field from being created multiple times if the script is run more than once.
156156

157157
Currently these field constructs can't be designated as site columns nor added to content types. To create site columns with Field XML, use the **createSiteColumnXml** action.
158158

@@ -172,7 +172,7 @@ Currently these field constructs can't be designated as site columns nor added t
172172

173173
### addSPLookupFieldXml
174174

175-
Enables defining lookup fields and their dependent lists element using Collaborative Application Markup Language (CAML). For reference, see [Field element (Field)](https://docs.microsoft.com/sharepoint/dev/schema/field-element-field). Providing the ID attribute in the field schemaXml is important in order to prevent the field from being created multiple times if the script is run more than once.
175+
Enables defining lookup fields and their dependent lists element using Collaborative Application Markup Language (CAML). For reference, see [Field element (Field)](/sharepoint/dev/schema/field-element-field). Providing the ID attribute in the field schemaXml is important in order to prevent the field from being created multiple times if the script is run more than once.
176176

177177
#### JSON value
178178

@@ -218,7 +218,7 @@ Defines and adds a view to the list. Use this action to specify the desired colu
218218

219219
- `name`: The name of the view.
220220
- `viewFields`: An array of the internal names of the fields in your view.
221-
- `query`: A CAML query string that contains the `where` clause for the view's query. See [CAML schemas] (https://docs.microsoft.com/sharepoint/dev/schema/collaborative-application-markup-language-caml-schemas).
221+
- `query`: A CAML query string that contains the `where` clause for the view's query. See [CAML schemas](/sharepoint/dev/schema/collaborative-application-markup-language-caml-schemas).
222222
- `rowLimit`: The row limit of the view.
223223
- `isPaged`: Specifies whether the view is paged.
224224
- `makeDefault`: If **True**, the view will be made the default for the list; otherwise, **False**.
@@ -374,7 +374,7 @@ In this example, we are formatting a number column as a data bar.
374374

375375
### associateFieldCustomizer
376376

377-
Registers field extension for a list field. For more information on these client-side extensions, see [Build field customizer](https://docs.microsoft.com/sharepoint/dev/spfx/extensions/get-started/building-simple-field-customizer) tutorial.
377+
Registers field extension for a list field. For more information on these client-side extensions, see [Build field customizer](/sharepoint/dev/spfx/extensions/get-started/building-simple-field-customizer) tutorial.
378378

379379
#### JSON values
380380

@@ -873,10 +873,10 @@ Use the `associateExtension` action to register a deployed SharePoint Framework
873873
#### JSON values
874874

875875
- `title`: The title of the extension in the App Catalog.
876-
- `___location`: Used to specify the extension type. If its used to create commands, then where the command would be displayed; otherwise this should be set to ClientSideExtension.ApplicationCustomizer.
876+
- `___location`: Used to specify the extension type. If it's used to create commands, then where the command would be displayed; otherwise this should be set to ClientSideExtension.ApplicationCustomizer.
877877
- `clientSideComponentId`: The identifier (GUID) of the extension in the App Catalog. This property value can be found in the manifest.json file or in the elements.xml file.
878878
- `clientSideComponentProperties`: An optional parameter, which can be used to provide properties for the extension instance.
879-
- `registrationId`: An optional parameter, which indicates the type of the list the extension is associated to (if its a list extension).
879+
- `registrationId`: An optional parameter, which indicates the type of the list the extension is associated to (if it's a list extension).
880880
- `registrationType`: An optional parameter, which should be specified if the extension is associated with a list.
881881
- `scope`: Indicates whether the extension is associated with a `Web` or a `Site`.
882882

docs/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
href: features/hub-site/REST-sphubsite-type.md
4040
- name: SPHubSiteData type
4141
href: features/hub-site/REST-sphubsitedata-type.md
42-
- name: Site designs & site scripts
42+
- name: Site templates & site scripts
4343
items:
4444
- name: Overview
4545
href: declarative-customization/site-design-overview.md

0 commit comments

Comments
 (0)