Skip to content

Commit 9df1981

Browse files
estruyfVesaJuvonen
authored andcommitted
Site design content changes (SharePoint#1274)
* Minor changes for better formatting Updated the JSON code snippet to show a correct code block on the site. * Updated Kudu screenshot to show the right function name
1 parent e52e238 commit 9df1981

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed
Loading

docs/declarative-customization/site-design-pnp-provisioning.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ You'll need to download the PnP PowerShell module so that you can upload it for
185185
```powershell
186186
Save-Module -Name SharePointPnPPowerShellOnline -Path [pathtoyourfolder]
187187
```
188+
188189
The PowerShell module files will download to a folder within the folder that you created.
189190
190191
Next, upload the files so that your Azure Function can use the module.
@@ -254,24 +255,24 @@ To create a site design, you first need to create a site script. A site design i
254255

255256
`https://prod-27.westus.logic.azure.com:443/workflows/ef7434cf0d704dd48ef5fb6...oke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun`
256257

257-
```json
258+
```json
259+
{
260+
"$schema": "schema.json",
261+
"actions": [
258262
{
259-
"$schema": "schema.json",
260-
"actions": [
261-
{
262-
"verb": "triggerFlow",
263-
"url": "[paste the workflow trigger URL here]",
264-
"name": "Apply Template",
265-
"parameters": {
266-
"event":"",
267-
"product":""
268-
}
269-
}
270-
],
271-
"bindata": {},
272-
"version": 1
263+
"verb": "triggerFlow",
264+
"url": "[paste the workflow trigger URL here]",
265+
"name": "Apply Template",
266+
"parameters": {
267+
"event":"",
268+
"product":""
269+
}
273270
}
274-
```
271+
],
272+
"bindata": {},
273+
"version": 1
274+
}
275+
```
275276

276277
1. Select the JSON again and copy it again to your clipboard.
277278
1. Open PowerShell and enter the following to copy the script into a variable and create the site script:

0 commit comments

Comments
 (0)