Skip to content

Commit 401567d

Browse files
KoenZomersVesaJuvonen
authored andcommitted
Fixed PowerShell sample (SharePoint#3756)
The provided PowerShell sample with the sample JSON file could not be copy/pasted into PowerShell. It would leave it in the edit mode in PowerShell. With this minor update, you can safely copy/paste the sample into PowerShell and hit enter to load the sample JSON up into the $site_script variable
1 parent e5b1da1 commit 401567d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/declarative-customization/get-started-create-site-design.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Each action is specified by the "verb" value in the JSON script. Also, actions c
2424
3. Create - and assign the JSON that describes the new script - to a variable as shown in the following PowerShell code. You can view and reference the latest JSON schema file here: https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json
2525

2626
```powershell
27-
$site_script = @'
27+
$site_script = '
2828
{
2929
"$schema": "schema.json",
3030
"actions": [
@@ -70,7 +70,7 @@ Each action is specified by the "verb" value in the JSON script. Also, actions c
7070
"bindata": { },
7171
"version": 1
7272
}
73-
'@
73+
'
7474
```
7575

7676
<br/>

0 commit comments

Comments
 (0)