@pnp/cli-microsoft365 6.8.0-beta.a10f6e4 → 6.8.0-beta.ce342e4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +2 -0
- package/README.md +6 -1
- package/dist/m365/pa/commands/app/app-consent-set.js +101 -0
- package/dist/m365/pa/commands.js +1 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +97 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +85 -0
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +89 -0
- package/dist/m365/purview/commands.js +3 -0
- package/dist/m365/spo/commands/file/file-list.js +15 -4
- package/dist/m365/spo/commands/file/file-remove.js +3 -0
- package/dist/m365/spo/commands/term/term-get.js +14 -5
- package/dist/m365/spo/commands/term/term-group-list.js +39 -4
- package/dist/m365/spo/commands/term/term-list.js +18 -9
- package/dist/m365/spo/commands/term/term-set-get.js +12 -3
- package/dist/m365/spo/commands.js +1 -0
- package/docs/docs/cmd/aad/o365group/o365group-get.md +0 -12
- package/docs/docs/cmd/cli/cli-consent.md +6 -0
- package/docs/docs/cmd/cli/cli-doctor.md +17 -0
- package/docs/docs/cmd/cli/cli-issue.md +6 -0
- package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
- package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
- package/docs/docs/cmd/cli/config/config-get.md +6 -0
- package/docs/docs/cmd/login.md +1 -1
- package/docs/docs/cmd/pa/app/app-consent-set.md +47 -0
- package/docs/docs/cmd/planner/task/task-get.md +0 -6
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.md +118 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.md +111 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.md +97 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
- package/docs/docs/cmd/spo/file/file-list.md +9 -6
- package/docs/docs/cmd/spo/file/file-remove.md +12 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
- package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
- package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
- package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
- package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
- package/docs/docs/cmd/spo/page/page-copy.md +35 -0
- package/docs/docs/cmd/spo/page/page-get.md +39 -0
- package/docs/docs/cmd/spo/page/page-list.md +53 -0
- package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
- package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
- package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
- package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
- package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
- package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
- package/docs/docs/cmd/spo/term/term-get.md +111 -10
- package/docs/docs/cmd/spo/term/term-group-list.md +70 -2
- package/docs/docs/cmd/spo/term/term-list.md +80 -8
- package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
- package/package.json +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# purview sensitivitylabel policysettings list
|
|
2
|
+
|
|
3
|
+
Get a list of policy settings for a sensitivity label.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 purview sensitivitylabel policysettings list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`--userId [userId]`
|
|
14
|
+
: User's Azure AD ID. Optionally specify this if you want to get a list of policy settings for a sensitivity label that the user has access to. Specify either `userId` or `userName` but not both.
|
|
15
|
+
|
|
16
|
+
`--userName [userName]`
|
|
17
|
+
: User's UPN (user principal name, e.g. johndoe@example.com). Optionally specify this if you want to get a list of policy settings for a sensitivity label that the user has access to. Specify either `userId` or `userName` but not both.
|
|
18
|
+
|
|
19
|
+
--8<-- "docs/cmd/_global.md"
|
|
20
|
+
|
|
21
|
+
## Remarks
|
|
22
|
+
|
|
23
|
+
!!! attention
|
|
24
|
+
This command is based on a Microsoft Graph API that is currently in preview and is subject to change once the API reached general availability.
|
|
25
|
+
|
|
26
|
+
!!! attention
|
|
27
|
+
When operating in app-only mode, you have the option to use either the `userName` or `userId` parameters to retrieve the sensitivity policy settings for a specific user. Without specifying either of these parameters, the command will retrieve the sensitivity policy settings for the currently authenticated user when operating in delegated mode.
|
|
28
|
+
|
|
29
|
+
## Examples
|
|
30
|
+
|
|
31
|
+
Get a list of policy settings for a sensitivity label.
|
|
32
|
+
|
|
33
|
+
```sh
|
|
34
|
+
m365 purview sensitivitylabel policysettings list
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Get a list of policy settings for a sensitivity label that a specific user has access to by its Id.
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
m365 purview sensitivitylabel policysettings list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Get a list of policy settings for a sensitivity label that a specific user has access to by its UPN.
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
m365 purview sensitivitylabel policysettings list --userName john.doe@contoso.com
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Response
|
|
50
|
+
|
|
51
|
+
=== "JSON"
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{
|
|
55
|
+
"id": "71F139249895C2F6DC861031DAC47E0C2C37C6595582D4248CC77FD7293681B5DE348BC71AEB44068CB397DB021CADB4",
|
|
56
|
+
"moreInfoUrl": "https://docs.microsoft.com/en-us/microsoft-365/compliance/get-started-with-sensitivity-labels?view=o365-worldwide#end-user-documentation-for-sensitivity-labels",
|
|
57
|
+
"isMandatory": true,
|
|
58
|
+
"isDowngradeJustificationRequired": true,
|
|
59
|
+
"defaultLabelId": "022bb90d-0cda-491d-b861-d195b14532dc"
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
=== "Text"
|
|
64
|
+
|
|
65
|
+
```text
|
|
66
|
+
defaultLabelId : 022bb90d-0cda-491d-b861-d195b14532dc
|
|
67
|
+
id : 71F139249895C2F6DC861031DAC47E0C2C37C6595582D4248CC77FD7293681B5DE348BC71AEB44068CB397
|
|
68
|
+
DB021CADB4
|
|
69
|
+
isDowngradeJustificationRequired: true
|
|
70
|
+
isMandatory : true
|
|
71
|
+
moreInfoUrl : https://docs.microsoft.com/en-us/microsoft-365/compliance/get-started-with-sensitivity-labels?view=o365-worldwide#end-user-documentation-for-sensitivity-labels
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
=== "CSV"
|
|
75
|
+
|
|
76
|
+
```csv
|
|
77
|
+
id,moreInfoUrl,isMandatory,isDowngradeJustificationRequired,defaultLabelId
|
|
78
|
+
71F139249895C2F6DC861031DAC47E0C2C37C6595582D4248CC77FD7293681B5DE348BC71AEB44068CB397DB021CADB4,https://docs.microsoft.com/en-us/microsoft-365/compliance/get-started-with-sensitivity-labels?view=o365-worldwide#end-user-documentation-for-sensitivity-labels,1,1,022bb90d-0cda-491d-b861-d195b14532dc
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
=== "Markdown"
|
|
82
|
+
|
|
83
|
+
```md
|
|
84
|
+
# purview sensitivitylabel policysettings list
|
|
85
|
+
|
|
86
|
+
Date: 4/11/2023
|
|
87
|
+
|
|
88
|
+
## 71F139249895C2F6DC861031DAC47E0C2C37C6595582D4248CC77FD7293681B5DE348BC71AEB44068CB397DB021CADB4
|
|
89
|
+
|
|
90
|
+
Property | Value
|
|
91
|
+
---------|-------
|
|
92
|
+
id | 71F139249895C2F6DC861031DAC47E0C2C37C6595582D4248CC77FD7293681B5DE348BC71AEB44068CB397DB021CADB4
|
|
93
|
+
moreInfoUrl | https://docs.microsoft.com/en-us/microsoft-365/compliance/get-started-with-sensitivity-labels?view=o365-worldwide#end-user-documentation-for-sensitivity-labels
|
|
94
|
+
isMandatory | true
|
|
95
|
+
isDowngradeJustificationRequired | true
|
|
96
|
+
defaultLabelId | 022bb90d-0cda-491d-b861-d195b14532dc
|
|
97
|
+
```
|
|
@@ -69,3 +69,20 @@ m365 search externalconnection get --name "Test"
|
|
|
69
69
|
id,name,description,state,configuration
|
|
70
70
|
CLITest,CLI-Test,CLI Test,draft,"{""authorizedApps"":[""31359c7f-bd7e-475c-86db-fdb8c937548e""],""authorizedAppIds"":[""31359c7f-bd7e-475c-86db-fdb8c937548e""]}"
|
|
71
71
|
```
|
|
72
|
+
|
|
73
|
+
=== "Markdown"
|
|
74
|
+
|
|
75
|
+
```md
|
|
76
|
+
# search externalconnection get --id "CLITest"
|
|
77
|
+
|
|
78
|
+
Date: 2022-11-05
|
|
79
|
+
|
|
80
|
+
## CLI-Test (CLITest)
|
|
81
|
+
|
|
82
|
+
Property | Value
|
|
83
|
+
---------|-------
|
|
84
|
+
id | CLITest
|
|
85
|
+
name | CLI-Test
|
|
86
|
+
description | CLI Test
|
|
87
|
+
state | draft
|
|
88
|
+
```
|
|
@@ -57,3 +57,20 @@ m365 search externalconnection list
|
|
|
57
57
|
id,name,state
|
|
58
58
|
CLITest,CLI-Test,draft
|
|
59
59
|
```
|
|
60
|
+
|
|
61
|
+
=== "Markdown"
|
|
62
|
+
|
|
63
|
+
```md
|
|
64
|
+
# search externalconnection list
|
|
65
|
+
|
|
66
|
+
Date: 2022-09-05
|
|
67
|
+
|
|
68
|
+
## CLI-Test (CLITest)
|
|
69
|
+
|
|
70
|
+
Property | Value
|
|
71
|
+
---------|-------
|
|
72
|
+
id | CLITest
|
|
73
|
+
name | CLI-Test
|
|
74
|
+
description | CLI Test
|
|
75
|
+
state | draft
|
|
76
|
+
```
|
|
@@ -13,8 +13,11 @@ m365 spo file list [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: The URL of the site where the folder from which to retrieve files is located
|
|
15
15
|
|
|
16
|
+
`-f, --folderUrl <folderUrl>`
|
|
17
|
+
: The server- or site-relative URL of the parent folder from which to retrieve files
|
|
18
|
+
|
|
16
19
|
`-f, --folder <folder>`
|
|
17
|
-
: The server- or site-relative URL of the folder from which to retrieve files
|
|
20
|
+
: (deprecated. Use `folderUrl` instead) The server- or site-relative URL of the folder from which to retrieve files
|
|
18
21
|
|
|
19
22
|
`--fields [fields]`
|
|
20
23
|
: Comma-separated list of fields to retrieve. Will retrieve all fields if not specified.
|
|
@@ -36,25 +39,25 @@ When the `fields` option includes values with a `/`, for example: `ListItemAllFi
|
|
|
36
39
|
Return all files from a folder
|
|
37
40
|
|
|
38
41
|
```sh
|
|
39
|
-
m365 spo file list --webUrl https://contoso.sharepoint.com/sites/project-x --
|
|
42
|
+
m365 spo file list --webUrl https://contoso.sharepoint.com/sites/project-x --folderUrl 'Shared Documents'
|
|
40
43
|
```
|
|
41
44
|
|
|
42
45
|
Return all files from a folder and all the sub-folders
|
|
43
46
|
|
|
44
47
|
```sh
|
|
45
|
-
m365 spo file list --webUrl https://contoso.sharepoint.com/sites/project-x --
|
|
48
|
+
m365 spo file list --webUrl https://contoso.sharepoint.com/sites/project-x --folderUrl 'Shared Documents' --recursive
|
|
46
49
|
```
|
|
47
50
|
|
|
48
51
|
Return the files from a folder with specific fields which will be expanded
|
|
49
52
|
|
|
50
53
|
```sh
|
|
51
|
-
m365 spo file list --webUrl https://contoso.sharepoint.com/sites/project-x --
|
|
54
|
+
m365 spo file list --webUrl https://contoso.sharepoint.com/sites/project-x --folderUrl 'Shared Documents' --fields "Title,Length"
|
|
52
55
|
```
|
|
53
56
|
|
|
54
57
|
Return the files from a folder that meet the criteria of the filter with specific fields which will be expanded
|
|
55
58
|
|
|
56
59
|
```sh
|
|
57
|
-
m365 spo file list --webUrl https://contoso.sharepoint.com/sites/project-x --
|
|
60
|
+
m365 spo file list --webUrl https://contoso.sharepoint.com/sites/project-x --folderUrl 'Shared Documents' --fields ListItemAllFields/Id --filter "Name eq 'document.docx'"
|
|
58
61
|
```
|
|
59
62
|
|
|
60
63
|
## Response
|
|
@@ -107,7 +110,7 @@ m365 spo file list --webUrl https://contoso.sharepoint.com/sites/project-x --fol
|
|
|
107
110
|
=== "Markdown"
|
|
108
111
|
|
|
109
112
|
```md
|
|
110
|
-
# spo file list --webUrl "https://contoso.sharepoint.com" --
|
|
113
|
+
# spo file list --webUrl "https://contoso.sharepoint.com" --folderUrl "Shared Documents"
|
|
111
114
|
|
|
112
115
|
Date: 23/3/2023
|
|
113
116
|
|
|
@@ -8,6 +8,12 @@ Removes the specified file
|
|
|
8
8
|
m365 spo file remove [options]
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## Alias
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
m365 spo page template remove
|
|
15
|
+
```
|
|
16
|
+
|
|
11
17
|
## Options
|
|
12
18
|
|
|
13
19
|
`-w, --webUrl <webUrl>`
|
|
@@ -46,3 +52,9 @@ Move the file with server-relative URL _/sites/project-x/SharedDocuments/Test.do
|
|
|
46
52
|
```sh
|
|
47
53
|
m365 spo file remove --webUrl https://contoso.sharepoint.com/sites/project-x --url /sites/project-x/SharedDocuments/Test.docx --recycle
|
|
48
54
|
```
|
|
55
|
+
|
|
56
|
+
Remove the page template with site-relative URL _SharedDocuments/Test.docx_ from located in site _https://contoso.sharepoint.com/sites/project-x_
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
m365 spo page template remove --webUrl https://contoso.sharepoint.com/sites/project-x --url SharedDocuments/Forms/Template.dotx
|
|
60
|
+
```
|
|
@@ -59,6 +59,19 @@ m365 spo orgassetslibrary list
|
|
|
59
59
|
/,"[{""DisplayName"":""Site Assets"",""LibraryUrl"":""SiteAssets"",""ListId"":""/Guid(0a327c3f-ba82-4b19-bfa1-628405539420)/"",""ThumbnailUrl"":null}]"
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
=== "Markdown"
|
|
63
|
+
|
|
64
|
+
```md
|
|
65
|
+
# spo orgassetslibrary list
|
|
66
|
+
|
|
67
|
+
Date: 5/1/2023
|
|
68
|
+
|
|
69
|
+
## /
|
|
70
|
+
|
|
71
|
+
Property | Value
|
|
72
|
+
---------|-------
|
|
73
|
+
Url | /
|
|
74
|
+
```
|
|
62
75
|
### Response when no library is assigned as asset library
|
|
63
76
|
|
|
64
77
|
=== "Text"
|
|
@@ -66,3 +79,9 @@ m365 spo orgassetslibrary list
|
|
|
66
79
|
```text
|
|
67
80
|
No libraries in Organization Assets
|
|
68
81
|
```
|
|
82
|
+
|
|
83
|
+
=== "Markdown"
|
|
84
|
+
|
|
85
|
+
```md
|
|
86
|
+
No libraries in Organization Assets
|
|
87
|
+
```
|
|
@@ -52,3 +52,15 @@ m365 spo orgassetslibrary remove --libraryUrl "/sites/branding/assets" --confirm
|
|
|
52
52
|
```csv
|
|
53
53
|
IsNull
|
|
54
54
|
```
|
|
55
|
+
|
|
56
|
+
=== "Markdown"
|
|
57
|
+
|
|
58
|
+
```md
|
|
59
|
+
# spo orgassetslibrary remove --libraryUrl "https://contoso.sharepoint.com/sites/branding/SiteAssets" --confirm "true"
|
|
60
|
+
|
|
61
|
+
Date: 5/1/2023
|
|
62
|
+
|
|
63
|
+
Property | Value
|
|
64
|
+
---------|-------
|
|
65
|
+
IsNull | false
|
|
66
|
+
```
|
|
@@ -98,3 +98,18 @@ m365 spo page column get --webUrl https://contoso.sharepoint.com/sites/team-a --
|
|
|
98
98
|
factor,order,controls
|
|
99
99
|
12,1,7558d804-0334-49ca-b14a-53870cf6caae (Bing Maps)
|
|
100
100
|
```
|
|
101
|
+
|
|
102
|
+
=== "Markdown"
|
|
103
|
+
|
|
104
|
+
```md
|
|
105
|
+
# spo page column get --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx" --section "1" --column "1"
|
|
106
|
+
|
|
107
|
+
Date: 5/1/2023
|
|
108
|
+
|
|
109
|
+
Property | Value
|
|
110
|
+
---------|-------
|
|
111
|
+
factor | 6
|
|
112
|
+
order | 1
|
|
113
|
+
dataVersion | 1.0
|
|
114
|
+
jsonData | {"displayMode":2,"position":{"sectionFactor":6,"sectionIndex":1,"zoneIndex":1}}
|
|
115
|
+
```
|
|
@@ -64,3 +64,19 @@ m365 spo page column list --webUrl https://contoso.sharepoint.com/sites/team-a -
|
|
|
64
64
|
factor,order,controls
|
|
65
65
|
12,1,1
|
|
66
66
|
```
|
|
67
|
+
|
|
68
|
+
=== "Markdown"
|
|
69
|
+
|
|
70
|
+
```md
|
|
71
|
+
# spo page column list --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx" --section "1"
|
|
72
|
+
|
|
73
|
+
Date: 5/1/2023
|
|
74
|
+
|
|
75
|
+
Property | Value
|
|
76
|
+
---------|-------
|
|
77
|
+
factor | 6
|
|
78
|
+
order | 1
|
|
79
|
+
dataVersion | 1.0
|
|
80
|
+
jsonData | {"displayMode":2,"position":{"sectionFactor":6,"sectionIndex":1,"zoneIndex":1}}
|
|
81
|
+
controls | 1
|
|
82
|
+
```
|
|
@@ -99,3 +99,21 @@ m365 spo page control get --id 3ede60d3-dc2c-438b-b5bf-cc40bb2351e1 --webUrl htt
|
|
|
99
99
|
id,type,title,controlType,order,controlData
|
|
100
100
|
7558d804-0334-49ca-b14a-53870cf6caae,Client-side web part,Bing Maps,3,1,"{""controlType"":3,""displayMode"":2,""id"":""7558d804-0334-49ca-b14a-53870cf6caae"",""position"":{""controlIndex"":1,""sectionIndex"":1,""zoneIndex"":1,""sectionFactor"":12,""layoutIndex"":1},""webPartId"":""e377ea37-9047-43b9-8cdb-a761be2f8e09"",""emphasis"":{},""webPartData"":{""dataVersion"":""1.0"",""description"":""Display a location on a map using Bing Maps."",""id"":""e377ea37-9047-43b9-8cdb-a761be2f8e09"",""instanceId"":""7558d804-0334-49ca-b14a-53870cf6caae"",""properties"":{""pushPins"":[],""maxNumberOfPushPins"":1,""shouldShowPushPinTitle"":true,""zoomLevel"":12,""mapType"":""road""},""title"":""Bing Maps"",""serverProcessedContent"":{""htmlStrings"":{},""searchablePlainTexts"":{},""imageSources"":{},""links"":{}}}}"
|
|
101
101
|
```
|
|
102
|
+
|
|
103
|
+
=== "Markdown"
|
|
104
|
+
|
|
105
|
+
```md
|
|
106
|
+
# spo page control get --id "f85f8dfa-9052-4be8-8954-8cdafe811b97" --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx"
|
|
107
|
+
|
|
108
|
+
Date: 5/1/2023
|
|
109
|
+
|
|
110
|
+
## Bing Maps (f85f8dfa-9052-4be8-8954-8cdafe811b97)
|
|
111
|
+
|
|
112
|
+
Property | Value
|
|
113
|
+
---------|-------
|
|
114
|
+
id | f85f8dfa-9052-4be8-8954-8cdafe811b97
|
|
115
|
+
type | Client-side web part
|
|
116
|
+
title | Bing Maps
|
|
117
|
+
controlType | 3
|
|
118
|
+
order | 1
|
|
119
|
+
```
|
|
@@ -95,3 +95,21 @@ m365 spo page control list --webUrl https://contoso.sharepoint.com/sites/team-a
|
|
|
95
95
|
id,type,title
|
|
96
96
|
7558d804-0334-49ca-b14a-53870cf6caae,Client-side web part,Bing Maps
|
|
97
97
|
```
|
|
98
|
+
|
|
99
|
+
=== "Markdown"
|
|
100
|
+
|
|
101
|
+
```md
|
|
102
|
+
# spo page control list --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx"
|
|
103
|
+
|
|
104
|
+
Date: 5/1/2023
|
|
105
|
+
|
|
106
|
+
## Bing Maps (f85f8dfa-9052-4be8-8954-8cdafe811b97)
|
|
107
|
+
|
|
108
|
+
Property | Value
|
|
109
|
+
---------|-------
|
|
110
|
+
id | f85f8dfa-9052-4be8-8954-8cdafe811b97
|
|
111
|
+
type | Client-side web part
|
|
112
|
+
title | Bing Maps
|
|
113
|
+
controlType | 3
|
|
114
|
+
order | 1
|
|
115
|
+
```
|
|
@@ -114,3 +114,38 @@ m365 spo page copy --webUrl https://contoso.sharepoint.com/sites/team-a --source
|
|
|
114
114
|
Id,PageLayoutType,Title,Url
|
|
115
115
|
25,Article,new-page,SitePages/home-copy.aspx
|
|
116
116
|
```
|
|
117
|
+
|
|
118
|
+
=== "Markdown"
|
|
119
|
+
|
|
120
|
+
```md
|
|
121
|
+
# spo page copy --webUrl "https://contoso.sharepoint.com/sites/team-a" --sourceName "home.aspx" --targetUrl "home-copy.aspx" --overwrite "true"
|
|
122
|
+
|
|
123
|
+
Date: 5/1/2023
|
|
124
|
+
|
|
125
|
+
## Home (9)
|
|
126
|
+
|
|
127
|
+
Property | Value
|
|
128
|
+
---------|-------
|
|
129
|
+
AbsoluteUrl | https://contoso.sharepoint.com/sites/team-a/SitePages/home-copy.aspx
|
|
130
|
+
BannerImageUrl | https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/51.39929962158204,-0.256799995899204/12?mapSize=512,512&key=AobmrKIjQInHa8zf5IjtCu3zVgIZFewRhY9M8NUzpYfvMdO2RKDO2eKI6uRFrP6b
|
|
131
|
+
BannerThumbnailUrl | https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/51.39929962158204,-0.256799995899204/12?mapSize=512,512&key=AobmrKIjQInHa8zf5IjtCu3zVgIZFewRhY9M8NUzpYfvMdO2RKDO2eKI6uRFrP6b
|
|
132
|
+
CallToAction |
|
|
133
|
+
ContentTypeId | 0x0101009D1CB255DA76424F860D91F20E6C41180015C00F3A91848C479243E57A8317E76E
|
|
134
|
+
DoesUserHaveEditPermission | true
|
|
135
|
+
FileName | home-copy.aspx
|
|
136
|
+
FirstPublished | 0001-01-01T08:00:00Z
|
|
137
|
+
Id | 9
|
|
138
|
+
IsPageCheckedOutToCurrentUser | false
|
|
139
|
+
IsWebWelcomePage | false
|
|
140
|
+
Modified | 2023-05-01T21:34:27Z
|
|
141
|
+
PageLayoutType | Home
|
|
142
|
+
PromotedState | 0
|
|
143
|
+
Title | Home
|
|
144
|
+
UniqueId | 75df1712-dfb4-497c-8fd7-8a5d4476df66
|
|
145
|
+
Url | SitePages/home-copy.aspx
|
|
146
|
+
Version | 0.1
|
|
147
|
+
AlternativeUrlMap | {"UserPhotoAspx":"https://contoso.sharepoint.com/\_vti\_bin/afdcache.ashx/\_userprofile/userphoto.jpg?\_oat\_=1683047510\_65dfacc308ae7abe460ae6e6ce6943d0d218fd9232a69a03fee352b2dbaead4e&P1=1682980536&P2=-64532418&P3=1&P4=itPWLPx8ka8ZYUpPbQSywAH8cSvgj2M7otD6geZ26NUbROmU99rFYzmdBccd7PCiYfzz53QfSTzDpPE0iaxF0OMY0oAYpHVrz5pDUU3k8Se9vXh%2bzaUnJtIJPlp3boTlzcbs6D%2fjown%2bPT%2bTMgEyRGqVjwt8QieNK3z1UNrTmkz8VYD3fmPyVpQMKtZ33o8K8cTsGl11qw6DghlKTP2odBEBSCdBfiJd00z%2fbxvJXi7on0x6RyzYMJbAUXgdBCfDS2QnU8bVWE83aBYHm%2bKo6YZllCM%2bAGQ%2bEfrMDBJDsQEKWryy4gQdkF2JVIaq%2fx0BbRSmVnQKkPVM3iqV8QWyRw%3d%3d","MediaTAThumbnailPathUrl":"https://ukwest1-mediap.svc.ms/transform/thumbnail?provider=spo&inputFormat={.fileType}&cs=UEFHRVN8U1BP&docid={.spHost}/\_api/v2.0/sharePoint:{.resourceUrl}:/driveItem&w={.widthValue}&oauth\_token=bearer%20{.oauthToken}","MediaTAThumbnailHostUrl":"https://ukwest1-mediap.svc.ms","AFDCDNEnabled":"True","CurrentSiteCDNPolicy":"True","PublicCDNEnabled":"True","PrivateCDNEnabled":"True"}
|
|
148
|
+
CanvasContent1 | [{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":1,"controlIndex":1,"sectionFactor":6},"controlType":3,"id":"f85f8dfa-9052-4be8-8954-8cdafe811b97","webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","reservedHeight":528,"reservedWidth":570,"addedFromPersistedData":true,"webPartData":{"id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"f85f8dfa-9052-4be8-8954-8cdafe811b97","title":"Bing Maps","description":"Display a location on a map using Bing Maps.","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road","center":{"latitude":51.399299621582038,"longitude":-0.256799995899204,"altitude":0,"altitudeReference":-1}},"containsDynamicDataSource":false}},{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":2,"controlIndex":1,"sectionFactor":6},"id":"emptySection","addedFromPersistedData":true},{"controlType":3,"webPartId":"8c88f208-6c77-4bdb-86a0-0c47b4316588","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1,"sectionFactor":8},"id":"71eab4c9-8340-4706-96b9-331527890975","addedFromPersistedData":true,"reservedHeight":406,"reservedWidth":776,"webPartData":{"id":"8c88f208-6c77-4bdb-86a0-0c47b4316588","instanceId":"71eab4c9-8340-4706-96b9-331527890975","title":"News","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{"baseUrl":"/sites/Company311"}},"dataVersion":"1.12","properties":{"layoutId":"FeaturedNews","dataProviderId":"news","emptyStateHelpItemsCount":"1","showChrome":true,"carouselSettings":{"autoplay":false,"autoplaySpeed":5,"dots":true,"lazyLoad":true},"showNewsMetadata":{"showSocialActions":false,"showAuthor":true,"showDate":true},"newsDataSourceProp":1,"carouselHeroWrapperComponentId":"","prefetchCount":4,"filters":[{"filterType":1,"value":"","values":[]}],"newsSiteList":[],"renderItemsSliderValue":4,"layoutComponentId":"","webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f","filterKQLQuery":""},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1.5,"sectionFactor":8,"layoutIndex":1},"controlType":3,"id":"dcfa91cf-96fa-47cd-9363-7f2fea373526","webPartId":"490d7c76-1824-45b2-9de3-676421c997fa","reservedHeight":326,"reservedWidth":776,"addedFromPersistedData":true,"webPartData":{"id":"490d7c76-1824-45b2-9de3-676421c997fa","instanceId":"dcfa91cf-96fa-47cd-9363-7f2fea373526","title":"Embed","description":"Embed content from other sites such as Sway, YouTube, Vimeo, and more","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.2","properties":{"embedCode":"","cachedEmbedCode":"","shouldScaleWidth":true,"tempState":{},"thumbnailUrl":""},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":2,"sectionFactor":8},"id":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","addedFromPersistedData":true,"reservedHeight":939,"reservedWidth":776,"webPartData":{"id":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","instanceId":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","title":"Site activity","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"maxItems":9},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":0.5,"sectionFactor":4,"layoutIndex":1},"controlType":3,"id":"9d1fed5d-9274-4a82-8891-58bbc937c92b","webPartId":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","addedFromPersistedData":true,"reservedHeight":449,"reservedWidth":364,"webPartData":{"id":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","instanceId":"9d1fed5d-9274-4a82-8891-58bbc937c92b","title":"Twitter","description":"Display a Twitter feed","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"displayAs":"list","displayHeader":false,"displayFooter":false,"displayBorders":true,"limit":"3","term":"@microsoft","widthSlider":100,"title":"","allowStretch":false,"displayLightTheme":true},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":1,"sectionFactor":4},"id":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","addedFromPersistedData":true,"reservedHeight":173,"reservedWidth":364,"webPartData":{"id":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","instanceId":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","title":"Quick links","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"title":"Quick links","items[0].title":"Learn about a team site","items[1].title":"Learn how to add a page"},"imageSources":{},"links":{"baseUrl":"/sites/Company311","items[0].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827918","items[1].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827919"},"componentDependencies":{"layoutComponentId":"706e33c8-af37-4e7b-9d22-6e5694d92a6f"}},"dataVersion":"2.2","properties":{"items":[{"sourceItem":{"itemType":2},"thumbnailType":3,"id":1,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767},{"sourceItem":{"itemType":2},"thumbnailType":3,"id":2,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767}],"isMigrated":true,"layoutId":"List","shouldShowThumbnail":true,"hideWebPartWhenEmpty":true,"dataProviderId":"QuickLinks","listLayoutOptions":{"showDescription":false,"showIcon":true},"imageWidth":100,"buttonLayoutOptions":{"showDescription":false,"buttonTreatment":2,"iconPositionType":2,"textAlignmentVertical":2,"textAlignmentHorizontal":2,"linesOfText":2},"waffleLayoutOptions":{"iconSize":1,"onlyShowThumbnail":false},"webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f"},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"f92bf067-bc19-489e-a556-7fe95f508720","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":2,"sectionFactor":4},"id":"c047c8d5-b5d0-4852-8a38-b58da702243c","addedFromPersistedData":true,"reservedHeight":291,"reservedWidth":364,"webPartData":{"id":"f92bf067-bc19-489e-a556-7fe95f508720","instanceId":"c047c8d5-b5d0-4852-8a38-b58da702243c","title":"Document library","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"listTitle":"Documents"},"imageSources":{},"links":{}},"dynamicDataPaths":{},"dynamicDataValues":{"filterBy":{}},"dataVersion":"1.0","properties":{"isDocumentLibrary":true,"showDefaultDocumentLibrary":true,"webpartHeightKey":4,"selectedListUrl":""},"containsDynamicDataSource":true}},{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true,"isSpellCheckEnabled":true,"globalRichTextStylingVersion":0,"rtePageSettings":{"contentVersion":4},"isEmailReady":false}}]
|
|
149
|
+
Language | en-us
|
|
150
|
+
SitePageFlags |
|
|
151
|
+
```
|
|
@@ -134,3 +134,42 @@ m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --name ho
|
|
|
134
134
|
commentsDisabled,numSections,numControls,title,layoutType
|
|
135
135
|
1,1,2,new-page,Article
|
|
136
136
|
```
|
|
137
|
+
|
|
138
|
+
=== "Markdown"
|
|
139
|
+
|
|
140
|
+
```md
|
|
141
|
+
# spo page get --webUrl "https://contoso.sharepoint.com/sites/team-a" --name "home.aspx"
|
|
142
|
+
|
|
143
|
+
Date: 5/1/2023
|
|
144
|
+
|
|
145
|
+
## Home (86ce2216-83f1-4ab4-9b7e-ffbdcf890992)
|
|
146
|
+
|
|
147
|
+
Property | Value
|
|
148
|
+
---------|-------
|
|
149
|
+
CheckInComment |
|
|
150
|
+
CheckOutType | 2
|
|
151
|
+
ContentTag | {86CE2216-83F1-4AB4-9B7E-FFBDCF890992},14,1
|
|
152
|
+
CustomizedPageStatus | 1
|
|
153
|
+
ETag | "{86CE2216-83F1-4AB4-9B7E-FFBDCF890992},14"
|
|
154
|
+
Exists | true
|
|
155
|
+
IrmEnabled | false
|
|
156
|
+
Length | 805
|
|
157
|
+
Level | 1
|
|
158
|
+
LinkingUrl |
|
|
159
|
+
MajorVersion | 2
|
|
160
|
+
MinorVersion | 0
|
|
161
|
+
Name | home.aspx
|
|
162
|
+
ServerRelativeUrl | /sites/Company311/SitePages/home.aspx
|
|
163
|
+
TimeCreated | 2021-09-19T00:20:25Z
|
|
164
|
+
TimeLastModified | 2023-05-01T20:43:12Z
|
|
165
|
+
Title | Home
|
|
166
|
+
UIVersion | 1024
|
|
167
|
+
UIVersionLabel | 2.0
|
|
168
|
+
UniqueId | 86ce2216-83f1-4ab4-9b7e-ffbdcf890992
|
|
169
|
+
commentsDisabled | true
|
|
170
|
+
title | Home
|
|
171
|
+
layoutType | Home
|
|
172
|
+
canvasContentJson | [{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":1,"controlIndex":1,"sectionFactor":6},"controlType":3,"id":"f85f8dfa-9052-4be8-8954-8cdafe811b97","webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","reservedHeight":528,"reservedWidth":570,"addedFromPersistedData":true,"webPartData":{"id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"f85f8dfa-9052-4be8-8954-8cdafe811b97","title":"Bing Maps","description":"Display a location on a map using Bing Maps.","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road","center":{"latitude":51.399299621582038,"longitude":-0.256799995899204,"altitude":0,"altitudeReference":-1}},"containsDynamicDataSource":false}},{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":2,"controlIndex":1,"sectionFactor":6},"id":"emptySection","addedFromPersistedData":true},{"controlType":3,"webPartId":"8c88f208-6c77-4bdb-86a0-0c47b4316588","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1,"sectionFactor":8},"id":"71eab4c9-8340-4706-96b9-331527890975","addedFromPersistedData":true,"reservedHeight":406,"reservedWidth":776,"webPartData":{"id":"8c88f208-6c77-4bdb-86a0-0c47b4316588","instanceId":"71eab4c9-8340-4706-96b9-331527890975","title":"News","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{"baseUrl":"/sites/Company311"}},"dataVersion":"1.12","properties":{"layoutId":"FeaturedNews","dataProviderId":"news","emptyStateHelpItemsCount":"1","showChrome":true,"carouselSettings":{"autoplay":false,"autoplaySpeed":5,"dots":true,"lazyLoad":true},"showNewsMetadata":{"showSocialActions":false,"showAuthor":true,"showDate":true},"newsDataSourceProp":1,"carouselHeroWrapperComponentId":"","prefetchCount":4,"filters":[{"filterType":1,"value":"","values":[]}],"newsSiteList":[],"renderItemsSliderValue":4,"layoutComponentId":"","webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f","filterKQLQuery":""},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1.5,"sectionFactor":8,"layoutIndex":1},"controlType":3,"id":"dcfa91cf-96fa-47cd-9363-7f2fea373526","webPartId":"490d7c76-1824-45b2-9de3-676421c997fa","reservedHeight":326,"reservedWidth":776,"addedFromPersistedData":true,"webPartData":{"id":"490d7c76-1824-45b2-9de3-676421c997fa","instanceId":"dcfa91cf-96fa-47cd-9363-7f2fea373526","title":"Embed","description":"Embed content from other sites such as Sway, YouTube, Vimeo, and more","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.2","properties":{"embedCode":"","cachedEmbedCode":"","shouldScaleWidth":true,"tempState":{},"thumbnailUrl":""},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":2,"sectionFactor":8},"id":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","addedFromPersistedData":true,"reservedHeight":939,"reservedWidth":776,"webPartData":{"id":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","instanceId":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","title":"Site activity","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"maxItems":9},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":0.5,"sectionFactor":4,"layoutIndex":1},"controlType":3,"id":"9d1fed5d-9274-4a82-8891-58bbc937c92b","webPartId":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","addedFromPersistedData":true,"reservedHeight":449,"reservedWidth":364,"webPartData":{"id":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","instanceId":"9d1fed5d-9274-4a82-8891-58bbc937c92b","title":"Twitter","description":"Display a Twitter feed","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"displayAs":"list","displayHeader":false,"displayFooter":false,"displayBorders":true,"limit":"3","term":"@microsoft","widthSlider":100,"title":"","allowStretch":false,"displayLightTheme":true},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":1,"sectionFactor":4},"id":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","addedFromPersistedData":true,"reservedHeight":173,"reservedWidth":364,"webPartData":{"id":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","instanceId":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","title":"Quick links","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"title":"Quick links","items[0].title":"Learn about a team site","items[1].title":"Learn how to add a page"},"imageSources":{},"links":{"baseUrl":"/sites/Company311","items[0].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827918","items[1].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827919"},"componentDependencies":{"layoutComponentId":"706e33c8-af37-4e7b-9d22-6e5694d92a6f"}},"dataVersion":"2.2","properties":{"items":[{"sourceItem":{"itemType":2},"thumbnailType":3,"id":1,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767},{"sourceItem":{"itemType":2},"thumbnailType":3,"id":2,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767}],"isMigrated":true,"layoutId":"List","shouldShowThumbnail":true,"hideWebPartWhenEmpty":true,"dataProviderId":"QuickLinks","listLayoutOptions":{"showDescription":false,"showIcon":true},"imageWidth":100,"buttonLayoutOptions":{"showDescription":false,"buttonTreatment":2,"iconPositionType":2,"textAlignmentVertical":2,"textAlignmentHorizontal":2,"linesOfText":2},"waffleLayoutOptions":{"iconSize":1,"onlyShowThumbnail":false},"webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f"},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"f92bf067-bc19-489e-a556-7fe95f508720","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":2,"sectionFactor":4},"id":"c047c8d5-b5d0-4852-8a38-b58da702243c","addedFromPersistedData":true,"reservedHeight":291,"reservedWidth":364,"webPartData":{"id":"f92bf067-bc19-489e-a556-7fe95f508720","instanceId":"c047c8d5-b5d0-4852-8a38-b58da702243c","title":"Document library","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"listTitle":"Documents"},"imageSources":{},"links":{}},"dynamicDataPaths":{},"dynamicDataValues":{"filterBy":{}},"dataVersion":"1.0","properties":{"isDocumentLibrary":true,"showDefaultDocumentLibrary":true,"webpartHeightKey":4,"selectedListUrl":""},"containsDynamicDataSource":true}},{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true,"isSpellCheckEnabled":true,"globalRichTextStylingVersion":0,"rtePageSettings":{"contentVersion":4},"isEmailReady":false}}]
|
|
173
|
+
numControls | 9
|
|
174
|
+
numSections | 2
|
|
175
|
+
```
|
|
@@ -143,3 +143,56 @@ m365 spo page list --webUrl https://contoso.sharepoint.com/sites/team-a
|
|
|
143
143
|
Name,Title
|
|
144
144
|
Home.aspx,Home
|
|
145
145
|
```
|
|
146
|
+
|
|
147
|
+
=== "Markdown"
|
|
148
|
+
|
|
149
|
+
```md
|
|
150
|
+
# spo page list --webUrl "https://contoso.sharepoint.com/sites/team-a"
|
|
151
|
+
|
|
152
|
+
Date: 5/1/2023
|
|
153
|
+
|
|
154
|
+
## Home (1)
|
|
155
|
+
|
|
156
|
+
Property | Value
|
|
157
|
+
---------|-------
|
|
158
|
+
CheckInComment |
|
|
159
|
+
CheckOutType | 2
|
|
160
|
+
ContentTag | {86CE2216-83F1-4AB4-9B7E-FFBDCF890992},14,1
|
|
161
|
+
CustomizedPageStatus | 1
|
|
162
|
+
ETag | "{86CE2216-83F1-4AB4-9B7E-FFBDCF890992},14"
|
|
163
|
+
Exists | true
|
|
164
|
+
IrmEnabled | false
|
|
165
|
+
Length | 805
|
|
166
|
+
Level | 1
|
|
167
|
+
LinkingUrl |
|
|
168
|
+
MajorVersion | 2
|
|
169
|
+
MinorVersion | 0
|
|
170
|
+
Name | Home.aspx
|
|
171
|
+
ServerRelativeUrl | /sites/team-a/SitePages/Home.aspx
|
|
172
|
+
TimeCreated | 2021-09-19T00:20:25Z
|
|
173
|
+
TimeLastModified | 2023-05-01T20:43:12Z
|
|
174
|
+
Title | Home
|
|
175
|
+
UIVersion | 1024
|
|
176
|
+
UIVersionLabel | 2.0
|
|
177
|
+
UniqueId | 86ce2216-83f1-4ab4-9b7e-ffbdcf890992
|
|
178
|
+
AbsoluteUrl | https://contoso.sharepoint.com/sites/team-a/SitePages/Home.aspx
|
|
179
|
+
BannerImageUrl | https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/51.39929962158204,-0.256799995899204/12?mapSize=512,512&key=AobmrKIjQInHa8zf5IjtCu3zVgIZFewRhY9M8NUzpYfvMdO2RKDO2eKI6uRFrP6b
|
|
180
|
+
BannerThumbnailUrl | https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/51.39929962158204,-0.256799995899204/12?mapSize=512,512&key=AobmrKIjQInHa8zf5IjtCu3zVgIZFewRhY9M8NUzpYfvMdO2RKDO2eKI6uRFrP6b
|
|
181
|
+
CallToAction |
|
|
182
|
+
ContentTypeId | 0x0101009D1CB255DA76424F860D91F20E6C41180015C00F3A91848C479243E57A8317E76E
|
|
183
|
+
DoesUserHaveEditPermission | true
|
|
184
|
+
FileName | Home.aspx
|
|
185
|
+
FirstPublished | 0001-01-01T08:00:00Z
|
|
186
|
+
Id | 1
|
|
187
|
+
IsPageCheckedOutToCurrentUser | false
|
|
188
|
+
IsWebWelcomePage | true
|
|
189
|
+
Modified | 2023-05-01T20:43:12Z
|
|
190
|
+
PageLayoutType | Home
|
|
191
|
+
PromotedState | 0
|
|
192
|
+
Url | SitePages/Home.aspx
|
|
193
|
+
Version | 2.0
|
|
194
|
+
AlternativeUrlMap | {"UserPhotoAspx":"https://contoso.sharepoint.com/\_vti\_bin/afdcache.ashx/\_userprofile/userphoto.jpg?\_oat\_=1683047510\_65dfacc308ae7abe460ae6e6ce6943d0d218fd9232a69a03fee352b2dbaead4e&P1=1682980536&P2=-64532418&P3=1&P4=itPWLPx8ka8ZYUpPbQSywAH8cSvgj2M7otD6geZ26NUbROmU99rFYzmdBccd7PCiYfzz53QfSTzDpPE0iaxF0OMY0oAYpHVrz5pDUU3k8Se9vXh%2bzaUnJtIJPlp3boTlzcbs6D%2fjown%2bPT%2bTMgEyRGqVjwt8QieNK3z1UNrTmkz8VYD3fmPyVpQMKtZ33o8K8cTsGl11qw6DghlKTP2odBEBSCdBfiJd00z%2fbxvJXi7on0x6RyzYMJbAUXgdBCfDS2QnU8bVWE83aBYHm%2bKo6YZllCM%2bAGQ%2bEfrMDBJDsQEKWryy4gQdkF2JVIaq%2fx0BbRSmVnQKkPVM3iqV8QWyRw%3d%3d","MediaTAThumbnailPathUrl":"https://ukwest1-mediap.svc.ms/transform/thumbnail?provider=spo&inputFormat={.fileType}&cs=UEFHRVN8U1BP&docid={.spHost}/\_api/v2.0/sharePoint:{.resourceUrl}:/driveItem&w={.widthValue}&oauth\_token=bearer%20{.oauthToken}","MediaTAThumbnailHostUrl":"https://ukwest1-mediap.svc.ms","AFDCDNEnabled":"True","CurrentSiteCDNPolicy":"True","PublicCDNEnabled":"True","PrivateCDNEnabled":"True"}
|
|
195
|
+
CanvasContent1 | [{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":1,"controlIndex":1,"sectionFactor":6},"controlType":3,"id":"f85f8dfa-9052-4be8-8954-8cdafe811b97","webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","reservedHeight":528,"reservedWidth":570,"addedFromPersistedData":true,"webPartData":{"id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"f85f8dfa-9052-4be8-8954-8cdafe811b97","title":"Bing Maps","description":"Display a location on a map using Bing Maps.","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road","center":{"latitude":51.399299621582038,"longitude":-0.256799995899204,"altitude":0,"altitudeReference":-1}},"containsDynamicDataSource":false}},{"position":{"layoutIndex":1,"zoneIndex":0.5,"sectionIndex":2,"controlIndex":1,"sectionFactor":6},"id":"emptySection","addedFromPersistedData":true},{"controlType":3,"webPartId":"8c88f208-6c77-4bdb-86a0-0c47b4316588","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1,"sectionFactor":8},"id":"71eab4c9-8340-4706-96b9-331527890975","addedFromPersistedData":true,"reservedHeight":406,"reservedWidth":776,"webPartData":{"id":"8c88f208-6c77-4bdb-86a0-0c47b4316588","instanceId":"71eab4c9-8340-4706-96b9-331527890975","title":"News","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{"baseUrl":"/sites/team-a"}},"dataVersion":"1.12","properties":{"layoutId":"FeaturedNews","dataProviderId":"news","emptyStateHelpItemsCount":"1","showChrome":true,"carouselSettings":{"autoplay":false,"autoplaySpeed":5,"dots":true,"lazyLoad":true},"showNewsMetadata":{"showSocialActions":false,"showAuthor":true,"showDate":true},"newsDataSourceProp":1,"carouselHeroWrapperComponentId":"","prefetchCount":4,"filters":[{"filterType":1,"value":"","values":[]}],"newsSiteList":[],"renderItemsSliderValue":4,"layoutComponentId":"","webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f","filterKQLQuery":""},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":1.5,"sectionFactor":8,"layoutIndex":1},"controlType":3,"id":"dcfa91cf-96fa-47cd-9363-7f2fea373526","webPartId":"490d7c76-1824-45b2-9de3-676421c997fa","reservedHeight":326,"reservedWidth":776,"addedFromPersistedData":true,"webPartData":{"id":"490d7c76-1824-45b2-9de3-676421c997fa","instanceId":"dcfa91cf-96fa-47cd-9363-7f2fea373526","title":"Embed","description":"Embed content from other sites such as Sway, YouTube, Vimeo, and more","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.2","properties":{"embedCode":"","cachedEmbedCode":"","shouldScaleWidth":true,"tempState":{},"thumbnailUrl":""},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","position":{"zoneIndex":1,"sectionIndex":1,"controlIndex":2,"sectionFactor":8},"id":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","addedFromPersistedData":true,"reservedHeight":939,"reservedWidth":776,"webPartData":{"id":"eb95c819-ab8f-4689-bd03-0c2d65d47b1f","instanceId":"3dde98e4-07d7-46d6-b57f-128d6ae5438c","title":"Site activity","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"maxItems":9},"containsDynamicDataSource":false}},{"position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":0.5,"sectionFactor":4,"layoutIndex":1},"controlType":3,"id":"9d1fed5d-9274-4a82-8891-58bbc937c92b","webPartId":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","addedFromPersistedData":true,"reservedHeight":449,"reservedWidth":364,"webPartData":{"id":"f6fdf4f8-4a24-437b-a127-32e66a5dd9b4","instanceId":"9d1fed5d-9274-4a82-8891-58bbc937c92b","title":"Twitter","description":"Display a Twitter feed","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}},"dataVersion":"1.0","properties":{"displayAs":"list","displayHeader":false,"displayFooter":false,"displayBorders":true,"limit":"3","term":"@microsoft","widthSlider":100,"title":"","allowStretch":false,"displayLightTheme":true},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":1,"sectionFactor":4},"id":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","addedFromPersistedData":true,"reservedHeight":173,"reservedWidth":364,"webPartData":{"id":"c70391ea-0b10-4ee9-b2b4-006d3fcad0cd","instanceId":"2d412c2a-ed7d-4117-bf54-f1b9a28c1346","title":"Quick links","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"title":"Quick links","items[0].title":"Learn about a team site","items[1].title":"Learn how to add a page"},"imageSources":{},"links":{"baseUrl":"/sites/team-a","items[0].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827918","items[1].sourceItem.url":"https://go.microsoft.com/fwlink/p/?linkid=827919"},"componentDependencies":{"layoutComponentId":"706e33c8-af37-4e7b-9d22-6e5694d92a6f"}},"dataVersion":"2.2","properties":{"items":[{"sourceItem":{"itemType":2},"thumbnailType":3,"id":1,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767},{"sourceItem":{"itemType":2},"thumbnailType":3,"id":2,"description":"","altText":"","rawPreviewImageMinCanvasWidth":32767}],"isMigrated":true,"layoutId":"List","shouldShowThumbnail":true,"hideWebPartWhenEmpty":true,"dataProviderId":"QuickLinks","listLayoutOptions":{"showDescription":false,"showIcon":true},"imageWidth":100,"buttonLayoutOptions":{"showDescription":false,"buttonTreatment":2,"iconPositionType":2,"textAlignmentVertical":2,"textAlignmentHorizontal":2,"linesOfText":2},"waffleLayoutOptions":{"iconSize":1,"onlyShowThumbnail":false},"webId":"c59dae7c-48bd-4241-96b7-b81d4bbc25cb","siteId":"9fcdddc5-bd7e-4120-b934-bf675b76855f"},"containsDynamicDataSource":false}},{"controlType":3,"webPartId":"f92bf067-bc19-489e-a556-7fe95f508720","position":{"zoneIndex":1,"sectionIndex":2,"controlIndex":2,"sectionFactor":4},"id":"c047c8d5-b5d0-4852-8a38-b58da702243c","addedFromPersistedData":true,"reservedHeight":291,"reservedWidth":364,"webPartData":{"id":"f92bf067-bc19-489e-a556-7fe95f508720","instanceId":"c047c8d5-b5d0-4852-8a38-b58da702243c","title":"Document library","audiences":[],"serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{"listTitle":"Documents"},"imageSources":{},"links":{}},"dynamicDataPaths":{},"dynamicDataValues":{"filterBy":{}},"dataVersion":"1.0","properties":{"isDocumentLibrary":true,"showDefaultDocumentLibrary":true,"webpartHeightKey":4,"selectedListUrl":""},"containsDynamicDataSource":true}},{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true,"isSpellCheckEnabled":true,"globalRichTextStylingVersion":0,"rtePageSettings":{"contentVersion":4},"isEmailReady":false}}]
|
|
196
|
+
Language | en-us
|
|
197
|
+
SitePageFlags |
|
|
198
|
+
```
|
|
@@ -64,3 +64,15 @@ m365 spo page section get --webUrl https://contoso.sharepoint.com/sites/team-a -
|
|
|
64
64
|
order,columns
|
|
65
65
|
1,"[{""factor"":12,""order"":1}]"
|
|
66
66
|
```
|
|
67
|
+
|
|
68
|
+
=== "Markdown"
|
|
69
|
+
|
|
70
|
+
```md
|
|
71
|
+
# spo page section get --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx" --section "1"
|
|
72
|
+
|
|
73
|
+
Date: 5/3/2023
|
|
74
|
+
|
|
75
|
+
Property | Value
|
|
76
|
+
---------|-------
|
|
77
|
+
order | 1
|
|
78
|
+
```
|
|
@@ -64,3 +64,16 @@ m365 spo page section list --webUrl https://contoso.sharepoint.com/sites/team-a
|
|
|
64
64
|
order,columns
|
|
65
65
|
1,1
|
|
66
66
|
```
|
|
67
|
+
|
|
68
|
+
=== "Markdown"
|
|
69
|
+
|
|
70
|
+
```md
|
|
71
|
+
# spo page section list --webUrl "https://contoso.sharepoint.com/sites/team-a" --pageName "home.aspx"
|
|
72
|
+
|
|
73
|
+
Date: 5/3/2023
|
|
74
|
+
|
|
75
|
+
Property | Value
|
|
76
|
+
---------|-------
|
|
77
|
+
order | 1
|
|
78
|
+
|
|
79
|
+
```
|
|
@@ -79,3 +79,34 @@ m365 spo page template list --webUrl https://contoso.sharepoint.com/sites/team-a
|
|
|
79
79
|
Title,FileName,Id,PageLayoutType,Url
|
|
80
80
|
Company Policy,Company-Policy.aspx,27,Article,SitePages/Templates/Company-Policy.aspx
|
|
81
81
|
```
|
|
82
|
+
|
|
83
|
+
=== "Markdown"
|
|
84
|
+
|
|
85
|
+
```md
|
|
86
|
+
# spo page template list --webUrl "https://contoso.sharepoint.com/sites/team-a"
|
|
87
|
+
|
|
88
|
+
Date: 5/4/2023
|
|
89
|
+
|
|
90
|
+
## template (12)
|
|
91
|
+
|
|
92
|
+
Property | Value
|
|
93
|
+
---------|-------
|
|
94
|
+
AbsoluteUrl | https://contoso.sharepoint.com/sites/team-a/SitePages/Templates/Company-Policy.aspx
|
|
95
|
+
BannerImageUrl | https://contoso.sharepoint.com/\_layouts/15/images/sitepagethumbnail.png
|
|
96
|
+
BannerThumbnailUrl | https://media.akamai.odsp.cdn.office.net/contoso.sharepoint.com/\_layouts/15/images/sitepagethumbnail.png
|
|
97
|
+
CallToAction |
|
|
98
|
+
ContentTypeId | 0x0101009D1CB255DA76424F860D91F20E6C41180015C00F3A91848C479243E57A8317E76E
|
|
99
|
+
DoesUserHaveEditPermission | true
|
|
100
|
+
FileName | template.aspx
|
|
101
|
+
FirstPublished | 0001-01-01T08:00:00Z
|
|
102
|
+
Id | 12
|
|
103
|
+
IsPageCheckedOutToCurrentUser | false
|
|
104
|
+
IsWebWelcomePage | false
|
|
105
|
+
Modified | 2023-05-04T09:37:10Z
|
|
106
|
+
PageLayoutType | Article
|
|
107
|
+
PromotedState | 0
|
|
108
|
+
Title | template
|
|
109
|
+
UniqueId | 318af790-8c04-4b34-b764-e47d6620bba2
|
|
110
|
+
Url | SitePages/Templates/template.aspx
|
|
111
|
+
Version | 0.1
|
|
112
|
+
```
|