Skip to content

Commit 0deaf1a

Browse files
authored
Merge pull request MicrosoftDocs#218 from erwinvanhunen/master
March 2018 Release documentation updates
2 parents 9a0635b + 90832f9 commit 0deaf1a

File tree

318 files changed

+5766
-1882
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

318 files changed

+5766
-1882
lines changed

sharepoint/docs-conceptual/sharepoint-pnp/sharepoint-pnp-cmdlets.md

Lines changed: 248 additions & 218 deletions
Large diffs are not rendered by default.

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPApp.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Add-PnPApp -Path <String>
1919

2020
### Add and Publish
2121
```powershell
22-
Add-PnPApp -Publish [<SwitchParameter>]
23-
-Path <String>
22+
Add-PnPApp -Path <String>
23+
-Publish [<SwitchParameter>]
2424
[-SkipFeatureDeployment [<SwitchParameter>]]
2525
[-Overwrite [<SwitchParameter>]]
2626
[-Connection <SPOnlineConnection>]
@@ -30,14 +30,14 @@ Add-PnPApp -Publish [<SwitchParameter>]
3030

3131
### ------------------EXAMPLE 1------------------
3232
```powershell
33-
PS:> Add-PnPApp -Path ./myapp.sppkg
33+
Add-PnPApp -Path ./myapp.sppkg
3434
```
3535

3636
This will upload the specified app package to the app catalog
3737

3838
### ------------------EXAMPLE 2------------------
3939
```powershell
40-
PS:> Add-PnPApp -Path ./myapp.sppkg -Publish
40+
Add-PnPApp -Path ./myapp.sppkg -Publish
4141
```
4242

4343
This will upload the specified app package to the app catalog and deploy/trust it at the same time.
@@ -61,7 +61,7 @@ Specifies the Id or an actual app metadata instance
6161
6262
```yaml
6363
Type: String
64-
Parameter Sets: Add only
64+
Parameter Sets: Add only, Add and Publish
6565

6666
Required: True
6767
Position: 0
@@ -93,7 +93,7 @@ Accept pipeline input: False
9393
```
9494
9595
### -Connection
96-
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
96+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
9797
9898
```yaml
9999
Type: SPOnlineConnection

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSidePage.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Add-PnPClientSidePage -Name <String>
1616
[-PromoteAs <ClientSidePagePromoteType>]
1717
[-CommentsEnabled [<SwitchParameter>]]
1818
[-Publish [<SwitchParameter>]]
19-
[-PublishMessage <String>]
2019
[-Web <WebPipeBind>]
2120
[-Connection <SPOnlineConnection>]
2221
```
@@ -25,14 +24,14 @@ Add-PnPClientSidePage -Name <String>
2524

2625
### ------------------EXAMPLE 1------------------
2726
```powershell
28-
PS:> Add-PnPClientSidePage -Name "NewPage"
27+
Add-PnPClientSidePage -Name "NewPage"
2928
```
3029

3130
Creates a new Client-Side page named 'NewPage'
3231

3332
### ------------------EXAMPLE 2------------------
3433
```powershell
35-
PS:> Add-PnPClientSidePage "NewPage"
34+
Add-PnPClientSidePage "NewPage"
3635
```
3736

3837
Creates a new Client-Side page named 'NewPage'
@@ -99,20 +98,8 @@ Position: Named
9998
Accept pipeline input: False
10099
```
101100
102-
### -PublishMessage
103-
Sets the message for publishing the page.
104-
105-
```yaml
106-
Type: String
107-
Parameter Sets: (All)
108-
109-
Required: False
110-
Position: Named
111-
Accept pipeline input: False
112-
```
113-
114101
### -Connection
115-
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
102+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
116103
117104
```yaml
118105
Type: SPOnlineConnection

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSidePageSection.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Adds a new section to a Client-Side page
1111
## SYNTAX
1212

1313
```powershell
14-
Add-PnPClientSidePageSection -SectionTemplate <CanvasSectionTemplate>
15-
-Page <ClientSidePagePipeBind>
14+
Add-PnPClientSidePageSection -Page <ClientSidePagePipeBind>
15+
-SectionTemplate <CanvasSectionTemplate>
1616
[-Order <Int>]
1717
[-Web <WebPipeBind>]
1818
[-Connection <SPOnlineConnection>]
@@ -22,21 +22,21 @@ Add-PnPClientSidePageSection -SectionTemplate <CanvasSectionTemplate>
2222

2323
### ------------------EXAMPLE 1------------------
2424
```powershell
25-
PS:> Add-PnPClientSidePageSection -Page "MyPage" -SectionTemplate OneColumn
25+
Add-PnPClientSidePageSection -Page "MyPage" -SectionTemplate OneColumn
2626
```
2727

2828
Adds a new one-column section to the Client-Side page 'MyPage'
2929

3030
### ------------------EXAMPLE 2------------------
3131
```powershell
32-
PS:> Add-PnPClientSidePageSection -Page "MyPage" -SectionTemplate ThreeColumn -Order 10
32+
Add-PnPClientSidePageSection -Page "MyPage" -SectionTemplate ThreeColumn -Order 10
3333
```
3434

3535
Adds a new Three columns section to the Client-Side page 'MyPage' with an order index of 10
3636

3737
### ------------------EXAMPLE 3------------------
3838
```powershell
39-
PS:> $page = Add-PnPClientSidePage -Name "MyPage"
39+
$page = Add-PnPClientSidePage -Name "MyPage"
4040
PS> Add-PnPClientSidePageSection -Page $page -SectionTemplate OneColumn
4141
```
4242

@@ -81,7 +81,7 @@ Accept pipeline input: False
8181
```
8282
8383
### -Connection
84-
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
84+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
8585
8686
```yaml
8787
Type: SPOnlineConnection

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSideText.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ Adds a text element to a client-side page.
1212

1313
### Default
1414
```powershell
15-
Add-PnPClientSideText -Text <String>
16-
-Page <ClientSidePagePipeBind>
15+
Add-PnPClientSideText -Page <ClientSidePagePipeBind>
16+
-Text <String>
1717
[-Order <Int>]
1818
[-Web <WebPipeBind>]
1919
[-Connection <SPOnlineConnection>]
2020
```
2121

2222
### Positioned
2323
```powershell
24-
Add-PnPClientSideText -Text <String>
24+
Add-PnPClientSideText -Page <ClientSidePagePipeBind>
25+
-Text <String>
2526
-Section <Int>
2627
-Column <Int>
27-
-Page <ClientSidePagePipeBind>
2828
[-Order <Int>]
2929
[-Web <WebPipeBind>]
3030
[-Connection <SPOnlineConnection>]
@@ -37,7 +37,7 @@ Adds a new text element to a section on a client-side page.
3737

3838
### ------------------EXAMPLE 1------------------
3939
```powershell
40-
PS:> Add-PnPClientSideText -Page "MyPage" -Text "Hello World!"
40+
Add-PnPClientSideText -Page "MyPage" -Text "Hello World!"
4141
```
4242

4343
Adds the text 'Hello World!' to the Client-Side Page 'MyPage'
@@ -61,7 +61,7 @@ Sets the order of the text control. (Default = 1)
6161
6262
```yaml
6363
Type: Int
64-
Parameter Sets: Default
64+
Parameter Sets: Default, Positioned
6565

6666
Required: False
6767
Position: Named
@@ -73,7 +73,7 @@ The name of the page.
7373
7474
```yaml
7575
Type: ClientSidePagePipeBind
76-
Parameter Sets: Default
76+
Parameter Sets: Default, Positioned
7777

7878
Required: True
7979
Position: 0
@@ -97,15 +97,15 @@ Specifies the text to display in the text area.
9797
9898
```yaml
9999
Type: String
100-
Parameter Sets: Default
100+
Parameter Sets: Default, Positioned
101101

102102
Required: True
103103
Position: Named
104104
Accept pipeline input: False
105105
```
106106
107107
### -Connection
108-
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
108+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
109109
110110
```yaml
111111
Type: SPOnlineConnection

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPClientSideWebPart.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Adds a Client-Side Web Part to a client-side page
1212

1313
### Default with built-in webpart
1414
```powershell
15-
Add-PnPClientSideWebPart -DefaultWebPartType <DefaultClientSideWebParts>
16-
-Page <ClientSidePagePipeBind>
15+
Add-PnPClientSideWebPart -Page <ClientSidePagePipeBind>
16+
-DefaultWebPartType <DefaultClientSideWebParts>
1717
[-WebPartProperties <PropertyBagPipeBind>]
1818
[-Order <Int>]
1919
[-Web <WebPipeBind>]
@@ -22,8 +22,8 @@ Add-PnPClientSideWebPart -DefaultWebPartType <DefaultClientSideWebParts>
2222

2323
### Default with 3rd party webpart
2424
```powershell
25-
Add-PnPClientSideWebPart -Component <ClientSideComponentPipeBind>
26-
-Page <ClientSidePagePipeBind>
25+
Add-PnPClientSideWebPart -Page <ClientSidePagePipeBind>
26+
-Component <ClientSideComponentPipeBind>
2727
[-WebPartProperties <PropertyBagPipeBind>]
2828
[-Order <Int>]
2929
[-Web <WebPipeBind>]
@@ -32,10 +32,10 @@ Add-PnPClientSideWebPart -Component <ClientSideComponentPipeBind>
3232

3333
### Positioned with built-in webpart
3434
```powershell
35-
Add-PnPClientSideWebPart -DefaultWebPartType <DefaultClientSideWebParts>
35+
Add-PnPClientSideWebPart -Page <ClientSidePagePipeBind>
36+
-DefaultWebPartType <DefaultClientSideWebParts>
3637
-Section <Int>
3738
-Column <Int>
38-
-Page <ClientSidePagePipeBind>
3939
[-WebPartProperties <PropertyBagPipeBind>]
4040
[-Order <Int>]
4141
[-Web <WebPipeBind>]
@@ -44,10 +44,10 @@ Add-PnPClientSideWebPart -DefaultWebPartType <DefaultClientSideWebParts>
4444

4545
### Positioned with 3rd party webpart
4646
```powershell
47-
Add-PnPClientSideWebPart -Component <ClientSideComponentPipeBind>
47+
Add-PnPClientSideWebPart -Page <ClientSidePagePipeBind>
48+
-Component <ClientSideComponentPipeBind>
4849
-Section <Int>
4950
-Column <Int>
50-
-Page <ClientSidePagePipeBind>
5151
[-WebPartProperties <PropertyBagPipeBind>]
5252
[-Order <Int>]
5353
[-Web <WebPipeBind>]
@@ -61,21 +61,21 @@ Adds a client-side web part to an existing client-side page.
6161

6262
### ------------------EXAMPLE 1------------------
6363
```powershell
64-
PS:> Add-PnPClientSideWebPart -Page "MyPage" -DefaultWebPartType BingMap
64+
Add-PnPClientSideWebPart -Page "MyPage" -DefaultWebPartType BingMap
6565
```
6666

6767
Adds a built-in Client-Side component 'BingMap' to the page called 'MyPage'
6868

6969
### ------------------EXAMPLE 2------------------
7070
```powershell
71-
PS:> Add-PnPClientSideWebPart -Page "MyPage" -Component "HelloWorld"
71+
Add-PnPClientSideWebPart -Page "MyPage" -Component "HelloWorld"
7272
```
7373

7474
Adds a Client-Side component 'HelloWorld' to the page called 'MyPage'
7575

7676
### ------------------EXAMPLE 3------------------
7777
```powershell
78-
PS:> Add-PnPClientSideWebPart -Page "MyPage" -Component "HelloWorld" -Section 1 -Column 2
78+
Add-PnPClientSideWebPart -Page "MyPage" -Component "HelloWorld" -Section 1 -Column 2
7979
```
8080

8181
Adds a Client-Side component 'HelloWorld' to the page called 'MyPage' in section 1 and column 2
@@ -87,7 +87,7 @@ Sets the column where to insert the WebPart control.
8787

8888
```yaml
8989
Type: Int
90-
Parameter Sets: Positioned with built-in webpart
90+
Parameter Sets: Positioned with built-in webpart, Positioned with 3rd party webpart
9191

9292
Required: True
9393
Position: Named
@@ -99,7 +99,7 @@ Specifies the component instance or Id to add.
9999
100100
```yaml
101101
Type: ClientSideComponentPipeBind
102-
Parameter Sets: Default with 3rd party webpart
102+
Parameter Sets: Default with 3rd party webpart, Positioned with 3rd party webpart
103103

104104
Required: True
105105
Position: Named
@@ -111,7 +111,7 @@ Defines a default WebPart type to insert.
111111
112112
```yaml
113113
Type: DefaultClientSideWebParts
114-
Parameter Sets: Default with built-in webpart
114+
Parameter Sets: Default with built-in webpart, Positioned with built-in webpart
115115

116116
Required: True
117117
Position: Named
@@ -123,7 +123,7 @@ Sets the order of the WebPart control. (Default = 1)
123123
124124
```yaml
125125
Type: Int
126-
Parameter Sets: Default with built-in webpart
126+
Parameter Sets: Default with built-in webpart, Default with 3rd party webpart, Positioned with built-in webpart, Positioned with 3rd party webpart
127127

128128
Required: False
129129
Position: Named
@@ -135,7 +135,7 @@ The name of the page.
135135
136136
```yaml
137137
Type: ClientSidePagePipeBind
138-
Parameter Sets: Default with built-in webpart
138+
Parameter Sets: Default with built-in webpart, Default with 3rd party webpart, Positioned with built-in webpart, Positioned with 3rd party webpart
139139

140140
Required: True
141141
Position: 0
@@ -147,7 +147,7 @@ Sets the section where to insert the WebPart control.
147147
148148
```yaml
149149
Type: Int
150-
Parameter Sets: Positioned with built-in webpart
150+
Parameter Sets: Positioned with built-in webpart, Positioned with 3rd party webpart
151151

152152
Required: True
153153
Position: Named
@@ -159,15 +159,15 @@ The properties of the WebPart
159159
160160
```yaml
161161
Type: PropertyBagPipeBind
162-
Parameter Sets: Default with built-in webpart
162+
Parameter Sets: Default with built-in webpart, Default with 3rd party webpart, Positioned with built-in webpart, Positioned with 3rd party webpart
163163

164164
Required: False
165165
Position: Named
166166
Accept pipeline input: False
167167
```
168168
169169
### -Connection
170-
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
170+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
171171
172172
```yaml
173173
Type: SPOnlineConnection

sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPContentType.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Add-PnPContentType -Name <String>
2424

2525
### ------------------EXAMPLE 1------------------
2626
```powershell
27-
PS:> Add-PnPContentType -Name "Project Document" -Description "Use for Contoso projects" -Group "Contoso Content Types" -ParentContentType $ct
27+
Add-PnPContentType -Name "Project Document" -Description "Use for Contoso projects" -Group "Contoso Content Types" -ParentContentType $ct
2828
```
2929

3030
This will add a new content type based on the parent content type stored in the $ct variable.
@@ -92,7 +92,7 @@ Accept pipeline input: False
9292
```
9393
9494
### -Connection
95-
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
95+
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
9696
9797
```yaml
9898
Type: SPOnlineConnection
@@ -117,7 +117,7 @@ Accept pipeline input: False
117117
118118
## OUTPUTS
119119
120-
### [Microsoft.SharePoint.Client.ContentType](https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.contenttype.aspx)
120+
### Microsoft.SharePoint.Client.ContentType
121121
122122
## RELATED LINKS
123123

0 commit comments

Comments
 (0)