Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added YAML draft scripts; updated TOC page
  • Loading branch information
Linda Caputo committed Mar 6, 2018
commit 002297fafb7a26cfeb57c6a8c71bd9ffa4aef929
105 changes: 105 additions & 0 deletions sharepoint/sharepoint-ps/sharepoint-online/Add-SPOSiteDesign.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,111 @@ Add-SPOSiteDesign
|[-PreviewImageAltText] | The alt text description of the image for accessibility. |
|[-IsDefault] | A switch that if provided, applies the site design to the default site template. For more information see [Customize a default site design](customize-default-site-design.md) |

### -Title
The display name of the site design.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### -WebTemplate
Identifies which base template to add the design to. Use the value **64** for the Team site template, and the value **68** for the Communication site template.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### -SiteScripts
An array of one or more site scripts. Each is identified by an ID. The scripts run in the order listed.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### [-Description]
The display description of the site design.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### [-PreviewImageUrl]
The URL of a preview image. If none is specified, SharePoint uses a generic image.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### [-PreviewImageAltText]
The alt text description of the image for accessibility.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### [-IsDefault]
A switch that if provided, applies the site design to the default site template. For more information, see [Customize a default site design](customize-default-site-design.md).

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

## EXAMPLES

### Example 1
Expand Down
46 changes: 46 additions & 0 deletions sharepoint/sharepoint-ps/sharepoint-online/Add-SPOSiteScript.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,52 @@ Add-SPOSiteScript
| -Description | A description of the script. |


### -Title
The display name of the site design.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### -Content
JSON value that describes the script. For more information, see [JSON reference](site-design-json-schema.md).

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### -Description
A description of the script.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```


## EXAMPLES

### Example 1
Expand Down
14 changes: 14 additions & 0 deletions sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteDesign.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ Get-SPOSiteDesign
|--------------|--------------|
| [-Identity] | The ID of the site design to retrieve. |

### [-Identity]
The ID of the site design to retrieve.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ Get-SPOSiteDesignRights
|--------------|--------------|
| [-Identity] | The ID of the site design to get scoping information. |

### [-Identity]
The ID of the site design to get scoping information.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

## EXAMPLES

Expand Down
14 changes: 14 additions & 0 deletions sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteScript.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ Get-SPOSiteScript
|--------------|--------------|
| [-Identity] | The ID of the site script to get information about. |

### [-Identity]
The ID of the site script to get information about.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

## EXAMPLES

Expand Down
30 changes: 30 additions & 0 deletions sharepoint/sharepoint-ps/sharepoint-online/Invoke-SPOSiteDesign.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,36 @@ Invoke-SPOSiteDesign
| -Identity | The ID of the site design to apply. |
| -WebUrl | The Url of the site collection where the site design will be applied.|

### -Identity
The ID of the site design to apply.

```yaml
Type:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SPOSiteDesignPipeBind

Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### -WebUrl
The URL of the site collection where the site design will be applied.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

## EXAMPLES

### Example 1
Expand Down
15 changes: 15 additions & 0 deletions sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOSiteDesign.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,27 @@ Removes a site design. It no longer appears in the UI for creating a new site.
[<CommonParameters>]
```


## PARAMETERS

|Parameter | Description |
|--------------|--------------|
| [-Identity] | The ID of the site design to remove. |

### [-Identity]
The ID of the site design to remove.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,17 @@ Remove-SPOSiteScript
|--------------|--------------|
| [-Identity] | The ID of the site script to remove. |


### [-Identity]
The ID of the site script to remove.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is an example:
Remove-SPOSiteScript 5ea28194-6fe7-4e2c-ba84-c409368278e
2

Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,36 @@ Revoke-SPOSiteDesignRights
| [-Identity] | The ID of the site design from which to revoke rights. |
| -Principals | One or more principals to revoke rights on the specified site design. |

### [-Identity]
The ID of the site design from which to revoke rights.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

### -Principals
One or more principals to revoke rights on the specified site design.

```yaml
Type:
Parameter Sets:
Aliases:
Applicable: SharePoint Online
Required:
Position:
Default value:
Accept pipeline input:
Accept wildcard characters:
```

## EXAMPLES

### Example 1
Expand Down
Loading