@pnp/cli-microsoft365 6.8.0-beta.a10f6e4 → 6.8.0-beta.bb09db9
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/commands/commands.js +1 -0
- package/dist/m365/commands/docs.js +42 -0
- package/dist/m365/commands/login.js +1 -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/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +2 -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/list/list-get.js +30 -3
- package/dist/m365/spo/commands/list/list-list.js +39 -2
- package/dist/m365/spo/commands/page/page-section-add.js +2 -3
- package/dist/m365/spo/commands/term/term-add.js +13 -4
- package/dist/m365/spo/commands/term/term-get.js +14 -5
- package/dist/m365/spo/commands/term/term-group-get.js +12 -3
- 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-add.js +13 -4
- package/dist/m365/spo/commands/term/term-set-get.js +12 -3
- package/dist/m365/spo/commands/term/term-set-list.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/docs.md +51 -0
- package/docs/docs/cmd/flow/environment/environment-list.md +18 -0
- package/docs/docs/cmd/flow/flow-get.md +20 -0
- package/docs/docs/cmd/flow/flow-list.md +17 -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/list/list-get.md +10 -0
- package/docs/docs/cmd/spo/list/list-list.md +28 -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-add.md +107 -6
- package/docs/docs/cmd/spo/term/term-get.md +111 -10
- package/docs/docs/cmd/spo/term/term-group-get.md +71 -5
- 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-add.md +95 -11
- package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
- package/docs/docs/cmd/spo/term/term-set-list.md +85 -5
- package/docs/docs/cmd/teams/app/app-list.md +17 -0
- package/docs/docs/cmd/teams/app/app-publish.md +18 -1
- package/docs/docs/cmd/teams/channel/channel-add.md +20 -0
- package/docs/docs/cmd/teams/channel/channel-get.md +21 -0
- package/docs/docs/cmd/teams/channel/channel-list.md +21 -0
- package/docs/docs/cmd/teams/channel/channel-member-list.md +20 -0
- package/docs/docs/cmd/teams/channel/channel-member-set.md +21 -0
- package/docs/docs/cmd/teams/chat/chat-get.md +22 -0
- package/docs/docs/cmd/teams/chat/chat-list.md +22 -0
- package/docs/docs/cmd/teams/chat/chat-member-list.md +20 -0
- package/docs/docs/cmd/teams/chat/chat-message-list.md +23 -0
- package/docs/docs/cmd/teams/funsettings/funsettings-list.md +15 -0
- package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +13 -0
- package/docs/docs/cmd/teams/membersettings/membersettings-list.md +17 -0
- package/docs/docs/cmd/yammer/group/group-list.md +42 -0
- package/docs/docs/cmd/yammer/message/message-add.md +32 -0
- package/docs/docs/cmd/yammer/message/message-get.md +32 -0
- package/docs/docs/cmd/yammer/message/message-list.md +34 -0
- package/docs/docs/cmd/yammer/network/network-list.md +70 -0
- package/docs/docs/cmd/yammer/report/report-activitycounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-activityusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +7 -0
- package/docs/docs/cmd/yammer/user/user-get.md +55 -0
- package/docs/docs/cmd/yammer/user/user-list.md +55 -0
- package/docs/docs/cmd/yammer/yammer-search.md +15 -3
- package/package.json +1 -1
|
@@ -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
|
+
```
|
|
@@ -30,6 +30,10 @@ m365 spo list get [options]
|
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
33
|
+
## Remarks
|
|
34
|
+
|
|
35
|
+
When the `properties` option includes values with a `/`, for example: `ListItemAllFields/Id`, an additional `$expand` query parameter will be included on `ListItemAllFields`.
|
|
36
|
+
|
|
33
37
|
## Examples
|
|
34
38
|
|
|
35
39
|
Get information about a list with specified ID located in the specified site.
|
|
@@ -62,6 +66,12 @@ Get information about a list returning the specified list properties.
|
|
|
62
66
|
m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Title,Id,HasUniqueRoleAssignments,AllowContentTypes"
|
|
63
67
|
```
|
|
64
68
|
|
|
69
|
+
Get information about a list returning the list Id, Title and ServerRelativeUrl properties.
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Title,Id,RootFolder/ServerRelativeUrl"
|
|
73
|
+
```
|
|
74
|
+
|
|
65
75
|
Get information about a list along with the roles and permissions.
|
|
66
76
|
|
|
67
77
|
```sh
|
|
@@ -13,8 +13,18 @@ m365 spo list list [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the lists to retrieve are located.
|
|
15
15
|
|
|
16
|
+
`-p, --properties [properties]`
|
|
17
|
+
: Comma-separated list of properties to retrieve. Will retrieve all properties if not specified.
|
|
18
|
+
|
|
19
|
+
`-f, --filter [filter]`
|
|
20
|
+
: OData filter to use to query the lists with.
|
|
21
|
+
|
|
16
22
|
--8<-- "docs/cmd/_global.md"
|
|
17
23
|
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
When the `--properties` option includes values with a `/`, for example: `RootFolder/ServerRelativeUrl`, an additional `$expand` query parameter should be included on `RootFolder`.
|
|
27
|
+
|
|
18
28
|
## Examples
|
|
19
29
|
|
|
20
30
|
Return all lists located in in a specific site.
|
|
@@ -23,6 +33,24 @@ Return all lists located in in a specific site.
|
|
|
23
33
|
m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
24
34
|
```
|
|
25
35
|
|
|
36
|
+
Return all lists located in in a specific site with specific properties.
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --properties "BaseTemplate,ParentWebUrl"
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Return all lists located in in a specific site with the Id, Title and ServerRelativeUrl properties.
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Id,Title,RootFolder/ServerRelativeUrl"
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Return all lists located in in a specific site based on the given filter.
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --filter "BaseTemplate eq 100"
|
|
52
|
+
```
|
|
53
|
+
|
|
26
54
|
## More information
|
|
27
55
|
|
|
28
56
|
- List REST API resources: [https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListEndpoint](https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListEndpoint)
|
|
@@ -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
|
+
```
|
|
@@ -77,3 +77,16 @@ m365 spo propertybag list --webUrl https://contoso.sharepoint.com/sites/test --f
|
|
|
77
77
|
key,value
|
|
78
78
|
vti_approvallevels,Approved Rejected Pending\ Review
|
|
79
79
|
```
|
|
80
|
+
|
|
81
|
+
=== "Markdown"
|
|
82
|
+
|
|
83
|
+
```md
|
|
84
|
+
# spo propertybag list --webUrl "https://contoso.sharepoint.com/sites/test"
|
|
85
|
+
|
|
86
|
+
Date: 5/6/2023
|
|
87
|
+
|
|
88
|
+
Property | Value
|
|
89
|
+
---------|-------
|
|
90
|
+
key | vti_approvallevels
|
|
91
|
+
value | Approved Rejected Pending\ Review
|
|
92
|
+
```
|
|
@@ -69,3 +69,10 @@ m365 spo report activityfilecounts --period D7 --output json > "activityfilecoun
|
|
|
69
69
|
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
70
70
|
2022-11-26,3,,,,2022-11-26,7
|
|
71
71
|
```
|
|
72
|
+
|
|
73
|
+
=== "Markdown"
|
|
74
|
+
|
|
75
|
+
```md
|
|
76
|
+
Report Refresh Date,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
77
|
+
2023-05-04,10,,,,2023-05-04,7
|
|
78
|
+
```
|
|
@@ -66,3 +66,10 @@ m365 spo report activitypages --period D7 --output json > "activitypages.json"
|
|
|
66
66
|
Report Refresh Date,Visited Page Count,Report Date,Report Period
|
|
67
67
|
2022-11-26,10,2022-11-26,7
|
|
68
68
|
```
|
|
69
|
+
|
|
70
|
+
=== "Markdown"
|
|
71
|
+
|
|
72
|
+
```md
|
|
73
|
+
Report Refresh Date,Visited Page Count,Report Date,Report Period
|
|
74
|
+
2023-05-04,11,2023-05-04,7
|
|
75
|
+
```
|
|
@@ -74,3 +74,10 @@ m365 spo report activityusercounts --period D7 --output json > "activityusercoun
|
|
|
74
74
|
Report Refresh Date,Visited Page,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
75
75
|
2022-11-26,1,1,,,,2022-11-26,7
|
|
76
76
|
```
|
|
77
|
+
|
|
78
|
+
=== "Markdown"
|
|
79
|
+
|
|
80
|
+
```md
|
|
81
|
+
Report Refresh Date,Visited Page,Viewed Or Edited,Synced,Shared Internally,Shared Externally,Report Date,Report Period
|
|
82
|
+
2023-05-04,1,1,,,,2023-05-04,7
|
|
83
|
+
```
|
|
@@ -87,3 +87,10 @@ m365 spo report activityuserdetail --period D7 --output json > "activityuserdeta
|
|
|
87
87
|
Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Visited Page Count,Assigned Products,Report Period
|
|
88
88
|
2022-11-26,Amanda.Powell@contoso.onmicrosoft.com,False,,2022-09-08,0,0,0,0,0,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE,7
|
|
89
89
|
```
|
|
90
|
+
|
|
91
|
+
=== "Markdown"
|
|
92
|
+
|
|
93
|
+
```md
|
|
94
|
+
Report Refresh Date,User Principal Name,Is Deleted,Deleted Date,Last Activity Date,Viewed Or Edited File Count,Synced File Count,Shared Internally File Count,Shared Externally File Count,Visited Page Count,Assigned Products,Report Period
|
|
95
|
+
2023-05-04,6B56E500AC8309BD90D212680A2B9C03,False,,2023-05-04,16,0,0,0,36,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING)+MICROSOFT POWER AUTOMATE FREE,7
|
|
96
|
+
```
|