@@ -28,6 +28,7 @@ The following REST commands are available for working with site designs and site
28
28
- ** DeleteSiteScript** &ndash ; Deletes a site script.
29
29
- ** CreateSiteDesign** &ndash ; Creates a site design.
30
30
- ** ApplySiteDesign** &ndash ; Applies a site design to an existing site collection.
31
+ - ** AddSiteDesignTaskToCurrentWeb** &ndash ; Adds a site design task on the current web.
31
32
- ** GetSiteDesigns** &ndash ; Gets a list of information on existing site designs.
32
33
- ** GetSiteDesignMetadata** &ndash ; Gets information about a specific site design.
33
34
- ** UpdateSiteDesign** &ndash ; Updates a site design with new values.
@@ -315,7 +316,7 @@ Applies a site design to an existing site collection.
315
316
316
317
| Parameter | Description |
317
318
| ------------| --------------|
318
- | id | The ID of the site design to apply. |
319
+ | siteDesignId | The ID of the site design to apply. |
319
320
| webUrl | The URL of the site collection where you want to apply the site design. |
320
321
321
322
### Examples
@@ -326,6 +327,26 @@ Here's an example of applying a site design to the ProjectGo site collection.
326
327
RestRequest (" /_api/Microsoft.Sharepoint.Utilities.WebTemplateExtensions.SiteScriptUtility.ApplySiteDesign" , {siteDesignId: " 614f9b28-3e85-4ec9-a961-5971ea086cca" , " webUrl" : " https://contoso.microsoft.com/sites/projectgo" });
327
328
```
328
329
330
+ ## AddSiteDesignTaskToCurrentWeb
331
+
332
+ Adds a site design task on the current web to be invoked asynchronously.
333
+
334
+ ### Parameters
335
+
336
+ | Parameter | Description |
337
+ | ------------| --------------|
338
+ | siteDesignId | The ID of the site design to apply. |
339
+
340
+
341
+ ### Examples
342
+
343
+ Here's an example of adding a site design task to the ProjectGo site collection.
344
+
345
+ ``` javascript
346
+ RestRequest (" /_api/Microsoft.Sharepoint.Utilities.WebTemplateExtensions.SiteScriptUtility.AddSiteDesignTaskToCurrentWeb" , {siteDesignId: " 614f9b28-3e85-4ec9-a961-5971ea086cca" });
347
+ ```
348
+ <br />
349
+
329
350
## GetSiteDesigns
330
351
331
352
Gets a list of information about existing site designs.
@@ -413,6 +434,7 @@ Here is an example of the JSON returned after calling **GetSiteDesignMetadata**.
413
434
"Version" : 1
414
435
}
415
436
```
437
+ <br />
416
438
417
439
## UpdateSiteDesign
418
440
@@ -585,4 +607,4 @@ RestRequest("/_api/Microsoft.Sharepoint.Utilities.WebTemplateExtensions.SiteScri
585
607
586
608
## See also
587
609
588
- - [ SharePoint site design and site script overview] ( site-design-overview.md )
610
+ - [ SharePoint site design and site script overview] ( site-design-overview.md )
0 commit comments