@pnp/cli-microsoft365 6.3.0-beta.c3dc921 → 6.3.0-beta.e40d7b4
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 +8 -0
- package/dist/Auth.js +0 -18
- package/dist/Command.js +12 -1
- package/dist/cli/Cli.js +42 -1
- package/dist/m365/aad/commands/group/group-list.js +2 -1
- package/dist/m365/aad/commands/user/user-add.js +223 -0
- package/dist/m365/aad/commands/user/user-license-list.js +99 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +103 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
- package/dist/m365/aad/commands/user/user-remove.js +107 -0
- package/dist/m365/aad/commands.js +6 -0
- package/dist/m365/base/O365MgmtCommand.js +10 -0
- package/dist/m365/context/commands/option/option-list.js +54 -0
- package/dist/m365/context/commands.js +1 -0
- package/dist/m365/file/commands/convert/convert-pdf.js +7 -6
- package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
- package/dist/m365/flow/commands/environment/environment-get.js +26 -11
- package/dist/m365/flow/commands/run/run-list.js +55 -3
- package/dist/m365/graph/commands/changelog/changelog-list.js +3 -2
- package/dist/m365/onenote/commands/notebook/notebook-list.js +50 -53
- package/dist/m365/onenote/commands/page/page-list.js +2 -16
- package/dist/m365/outlook/commands/mail/mail-send.js +3 -2
- package/dist/m365/outlook/commands/message/message-get.js +4 -3
- package/dist/m365/pa/commands/environment/environment-get.js +13 -5
- package/dist/m365/planner/commands/plan/plan-add.js +20 -6
- package/dist/m365/planner/commands/plan/plan-get.js +40 -26
- package/dist/m365/planner/commands/plan/plan-list.js +24 -14
- package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
- package/dist/m365/planner/commands/plan/plan-set.js +21 -10
- package/dist/m365/planner/commands/roster/roster-add.js +47 -0
- package/dist/m365/planner/commands/roster/roster-get.js +61 -0
- package/dist/m365/planner/commands/roster/roster-member-add.js +113 -0
- package/dist/m365/planner/commands/roster/roster-member-list.js +54 -0
- package/dist/m365/planner/commands/roster/roster-member-remove.js +140 -0
- package/dist/m365/planner/commands/roster/roster-remove.js +88 -0
- package/dist/m365/planner/commands/task/task-add.js +3 -0
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +2 -1
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
- package/dist/m365/planner/commands.js +6 -0
- package/dist/m365/pp/commands/environment/environment-get.js +18 -9
- package/dist/m365/pp/commands/solution/solution-get.js +2 -1
- package/dist/m365/pp/commands/solution/solution-list.js +2 -1
- package/dist/m365/purview/commands/auditlog/auditlog-list.js +205 -0
- package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +75 -0
- package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +46 -0
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +97 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +77 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +75 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +43 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +97 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +90 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +11 -1
- package/dist/m365/purview/commands.js +9 -0
- package/dist/m365/spfx/commands/project/WebApiPermissionRequests.js +3 -0
- package/dist/m365/spfx/commands/project/project-permissions-grant.js +81 -0
- package/dist/m365/spfx/commands.js +3 -2
- package/dist/m365/spo/commands/app/app-add.js +2 -1
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +95 -0
- package/dist/m365/spo/commands/customaction/customaction-get.js +17 -66
- package/dist/m365/spo/commands/customaction/customaction-list.js +2 -36
- package/dist/m365/spo/commands/customaction/customaction-remove.js +11 -18
- package/dist/m365/spo/commands/file/GraphFileDetails.js +0 -1
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +2 -1
- package/dist/m365/spo/commands/file/file-sharinglink-add.js +2 -22
- package/dist/m365/spo/commands/file/file-sharinglink-clear.js +137 -0
- package/dist/m365/spo/commands/file/file-sharinglink-get.js +2 -25
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +9 -29
- package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -25
- package/dist/m365/spo/commands/file/file-sharinglink-set.js +104 -0
- package/dist/m365/spo/commands/group/group-list.js +2 -1
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-add.js +2 -1
- package/dist/m365/spo/commands/listitem/listitem-list.js +2 -1
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +17 -3
- package/dist/m365/spo/commands/navigation/navigation-node-get.js +73 -0
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +4 -7
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +118 -0
- package/dist/m365/spo/commands/page/page-column-get.js +2 -1
- package/dist/m365/spo/commands/page/page-column-list.js +2 -1
- package/dist/m365/spo/commands/page/page-section-get.js +2 -1
- package/dist/m365/spo/commands/page/page-section-list.js +2 -1
- package/dist/m365/spo/commands/site/site-apppermission-add.js +2 -14
- package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -14
- package/dist/m365/spo/commands/site/site-apppermission-list.js +2 -14
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +2 -14
- package/dist/m365/spo/commands/site/site-apppermission-set.js +2 -14
- package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -0
- package/dist/m365/spo/commands/spo-search.js +2 -1
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +179 -0
- package/dist/m365/spo/commands/term/term-list.js +2 -1
- package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -2
- package/dist/m365/spo/commands/web/web-set.js +11 -4
- package/dist/m365/spo/commands.js +6 -0
- package/dist/m365/teams/commands/chat/chat-list.js +4 -4
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +5 -5
- package/dist/m365/teams/commands/meeting/meeting-get.js +5 -5
- package/dist/m365/teams/commands/meeting/meeting-list.js +5 -4
- package/dist/m365/teams/commands/team/team-app-list.js +1 -1
- package/dist/m365/teams/commands/user/user-app-list.js +2 -1
- package/dist/m365/todo/commands/task/task-get.js +2 -1
- package/dist/m365/todo/commands/task/task-list.js +2 -1
- package/dist/m365/yammer/commands/yammer-search.js +2 -1
- package/dist/utils/aadUser.js +38 -0
- package/dist/utils/accessToken.js +1 -1
- package/dist/utils/planner.js +16 -5
- package/dist/utils/spo.js +116 -0
- package/docs/docs/cmd/aad/app/app-list.md +3 -0
- package/docs/docs/cmd/aad/user/user-add.md +168 -0
- package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +42 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
- package/docs/docs/cmd/aad/user/user-remove.md +51 -0
- package/docs/docs/cmd/aad/user/user-set.md +2 -2
- package/docs/docs/cmd/context/option/option-list.md +63 -0
- package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
- package/docs/docs/cmd/flow/run/run-list.md +21 -0
- package/docs/docs/cmd/login.md +26 -0
- package/docs/docs/cmd/logout.md +4 -0
- package/docs/docs/cmd/pa/app/app-get.md +24 -0
- package/docs/docs/cmd/pa/app/app-list.md +21 -0
- package/docs/docs/cmd/pa/connector/connector-list.md +17 -0
- package/docs/docs/cmd/pa/environment/environment-get.md +26 -2
- package/docs/docs/cmd/pa/environment/environment-list.md +19 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +17 -6
- package/docs/docs/cmd/planner/plan/plan-get.md +21 -7
- package/docs/docs/cmd/planner/plan/plan-list.md +16 -2
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- package/docs/docs/cmd/planner/plan/plan-set.md +10 -4
- package/docs/docs/cmd/planner/roster/roster-add.md +60 -0
- package/docs/docs/cmd/planner/roster/roster-get.md +73 -0
- package/docs/docs/cmd/planner/roster/roster-member-add.md +87 -0
- package/docs/docs/cmd/planner/roster/roster-member-list.md +76 -0
- package/docs/docs/cmd/planner/roster/roster-member-remove.md +51 -0
- package/docs/docs/cmd/planner/roster/roster-remove.md +48 -0
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.md +43 -0
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +43 -0
- package/docs/docs/cmd/pp/card/card-clone.md +12 -0
- package/docs/docs/cmd/pp/card/card-get.md +49 -0
- package/docs/docs/cmd/pp/card/card-list.md +49 -0
- package/docs/docs/cmd/pp/chatbot/chatbot-get.md +55 -0
- package/docs/docs/cmd/pp/chatbot/chatbot-list.md +36 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +30 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +30 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +30 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +19 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +19 -0
- package/docs/docs/cmd/pp/gateway/gateway-get.md +19 -0
- package/docs/docs/cmd/pp/gateway/gateway-list.md +19 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-add.md +12 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-list.md +12 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +14 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +14 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-get.md +20 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-list.md +18 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +21 -0
- package/docs/docs/cmd/purview/auditlog/auditlog-list.md +123 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +132 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +107 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +45 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +106 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +103 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +97 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +43 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +43 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +3 -0
- package/docs/docs/cmd/request.md +74 -0
- package/docs/docs/cmd/spfx/project/project-permissions-grant.md +65 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +56 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +46 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.md +104 -0
- package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
- package/docs/docs/cmd/spo/homesite/homesite-remove.md +8 -2
- package/docs/docs/cmd/spo/homesite/homesite-set.md +8 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
- package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
- package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +7 -1
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +9 -3
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +8 -2
- package/docs/docs/cmd/spo/list/list-add.md +123 -57
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-get.md +70 -4
- package/docs/docs/cmd/spo/list/list-list.md +70 -2
- package/docs/docs/cmd/spo/list/list-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
- package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
- package/docs/docs/cmd/spo/list/list-set.md +61 -61
- package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
- package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
- package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
- package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-add.md +29 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +19 -4
- package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +8 -2
- package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.md +30 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +40 -3
- package/docs/docs/cmd/spo/navigation/navigation-node-get.md +91 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-list.md +30 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +1 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-set.md +59 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-add.md +3 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +59 -0
- package/docs/docs/cmd/spo/web/web-set.md +9 -0
- package/docs/docs/cmd/status.md +46 -0
- package/docs/docs/cmd/version.md +26 -0
- package/npm-shrinkwrap.json +911 -876
- package/package.json +12 -12
|
@@ -11,130 +11,130 @@ m365 spo list add [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-t, --title <title>`
|
|
14
|
-
: Title of the list to add
|
|
14
|
+
: Title of the list to add.
|
|
15
15
|
|
|
16
16
|
`--baseTemplate <baseTemplate>`
|
|
17
|
-
: The list definition type on which the list is based. Allowed values `Announcements
|
|
17
|
+
: The list definition type on which the list is based. Allowed values `Announcements`, `Contacts`, `CustomGrid`, `DataSources`,`DiscussionBoard`, `DocumentLibrary`, `Events`, `GanttTasks`, `GenericList`, `IssuesTracking`, `Links`, `NoCodeWorkflows`,`PictureLibrary`, `Survey`, `Tasks`, `WebPageLibrary`, `WorkflowHistory`, `WorkflowProcess`, `XmlForm`. Default `GenericList`.
|
|
18
18
|
|
|
19
19
|
`-u, --webUrl <webUrl>`
|
|
20
|
-
: URL of the site where the list should be added
|
|
20
|
+
: URL of the site where the list should be added.
|
|
21
21
|
|
|
22
22
|
`--description [description]`
|
|
23
|
-
: The description for the list
|
|
23
|
+
: The description for the list.
|
|
24
24
|
|
|
25
25
|
`--templateFeatureId [templateFeatureId]`
|
|
26
|
-
: The globally unique identifier (GUID) of a template feature that is associated with the list
|
|
26
|
+
: The globally unique identifier (GUID) of a template feature that is associated with the list.
|
|
27
27
|
|
|
28
28
|
`--allowDeletion [allowDeletion]`
|
|
29
|
-
: Boolean value specifying whether the list can be deleted. Valid values are `true
|
|
29
|
+
: Boolean value specifying whether the list can be deleted. Valid values are `true`, `false`.
|
|
30
30
|
|
|
31
31
|
`--allowEveryoneViewItems [allowEveryoneViewItems]`
|
|
32
|
-
: Boolean value specifying whether everyone can view documents in the documentlibrary or attachments to items in the list. Valid values are `true
|
|
32
|
+
: Boolean value specifying whether everyone can view documents in the documentlibrary or attachments to items in the list. Valid values are `true`, `false`.
|
|
33
33
|
|
|
34
34
|
`--allowMultiResponses [allowMultiResponses]`
|
|
35
|
-
: Boolean value specifying whether users are allowed to give multiple responses to the survey. Valid values are `true
|
|
35
|
+
: Boolean value specifying whether users are allowed to give multiple responses to the survey. Valid values are `true`, `false`.
|
|
36
36
|
|
|
37
37
|
`--contentTypesEnabled [contentTypesEnabled]`
|
|
38
|
-
: Boolean value specifying whether content types are enabled for the list. Valid values are `true
|
|
38
|
+
: Boolean value specifying whether content types are enabled for the list. Valid values are `true`, `false`.
|
|
39
39
|
|
|
40
40
|
`--crawlNonDefaultViews [crawlNonDefaultViews]`
|
|
41
|
-
: Boolean value specifying whether to crawl non default views. Valid values are `true
|
|
41
|
+
: Boolean value specifying whether to crawl non default views. Valid values are `true`, `false`.
|
|
42
42
|
|
|
43
43
|
`--defaultContentApprovalWorkflowId [defaultContentApprovalWorkflowId]`
|
|
44
|
-
: Value that specifies the default workflow identifier for content approval onthe list (GUID)
|
|
44
|
+
: Value that specifies the default workflow identifier for content approval onthe list (GUID).
|
|
45
45
|
|
|
46
46
|
`--defaultDisplayFormUrl [defaultDisplayFormUrl]`
|
|
47
|
-
: Value that specifies the location of the default display form for the list
|
|
47
|
+
: Value that specifies the location of the default display form for the list.
|
|
48
48
|
|
|
49
49
|
`--defaultEditFormUrl [defaultEditFormUrl]`
|
|
50
50
|
: Value that specifies the URL of the edit form to use for list items in the list
|
|
51
|
-
|
|
51
|
+
.
|
|
52
52
|
`--direction [direction]`
|
|
53
|
-
: Value that specifies the reading order of the list. Valid values are `NONE
|
|
53
|
+
: Value that specifies the reading order of the list. Valid values are `NONE`, `LTR`, `RTL`.
|
|
54
54
|
|
|
55
55
|
`--disableGridEditing [disableGridEditing]`
|
|
56
|
-
: Property for assigning or retrieving grid editing on the list. Valid values are `true
|
|
56
|
+
: Property for assigning or retrieving grid editing on the list. Valid values are `true`, `false`.
|
|
57
57
|
|
|
58
58
|
`--draftVersionVisibility [draftVersionVisibility]`
|
|
59
|
-
: Value that specifies the minimum permission required to view minor versions and drafts within the list. Allowed values `Reader
|
|
59
|
+
: Value that specifies the minimum permission required to view minor versions and drafts within the list. Allowed values `Reader`, `Author`, `Approver`. Default `Reader`.
|
|
60
60
|
|
|
61
61
|
`--emailAlias [emailAlias]`
|
|
62
62
|
: If e-mail notification is enabled, gets or sets the e-mail address to use tonotify to the owner of an item when an assignment has changed or the item has been updated.
|
|
63
63
|
|
|
64
64
|
`--enableAssignToEmail [enableAssignToEmail]`
|
|
65
|
-
: Boolean value specifying whether e-mail notification is enabled for the list. Valid values are `true
|
|
65
|
+
: Boolean value specifying whether e-mail notification is enabled for the list. Valid values are `true`, `false`.
|
|
66
66
|
|
|
67
67
|
`--enableAttachments [enableAttachments]`
|
|
68
|
-
: Boolean value that specifies whether attachments can be added to items in the list. Valid values are `true
|
|
68
|
+
: Boolean value that specifies whether attachments can be added to items in the list. Valid values are `true`, `false`.
|
|
69
69
|
|
|
70
70
|
`--enableDeployWithDependentList [enableDeployWithDependentList]`
|
|
71
|
-
: Boolean value that specifies whether the list can be deployed with a dependent list. Valid values are `true
|
|
71
|
+
: Boolean value that specifies whether the list can be deployed with a dependent list. Valid values are `true`, `false`.
|
|
72
72
|
|
|
73
73
|
`--enableFolderCreation [enableFolderCreation]`
|
|
74
|
-
: Boolean value that specifies whether folders can be created for the list. Valid values are `true
|
|
74
|
+
: Boolean value that specifies whether folders can be created for the list. Valid values are `true`, `false`.
|
|
75
75
|
|
|
76
76
|
`--enableMinorVersions [enableMinorVersions]`
|
|
77
|
-
: Boolean value that specifies whether minor versions are enabled when versioning is enabled for the document library. Valid values are `true
|
|
77
|
+
: Boolean value that specifies whether minor versions are enabled when versioning is enabled for the document library. Valid values are `true`, `false`.
|
|
78
78
|
|
|
79
79
|
`--enableModeration [enableModeration]`
|
|
80
|
-
: Boolean value that specifies whether Content Approval is enabled for the list. Valid values are `true
|
|
80
|
+
: Boolean value that specifies whether Content Approval is enabled for the list. Valid values are `true`, `false`.
|
|
81
81
|
|
|
82
82
|
`--enablePeopleSelector [enablePeopleSelector]`
|
|
83
|
-
: Enable user selector on event list. Valid values are `true
|
|
83
|
+
: Enable user selector on event list. Valid values are `true`, `false`.
|
|
84
84
|
|
|
85
85
|
`--enableResourceSelector [enableResourceSelector]`
|
|
86
|
-
: Enables resource selector on an event list. Valid values are `true
|
|
86
|
+
: Enables resource selector on an event list. Valid values are `true`, `false`.
|
|
87
87
|
|
|
88
88
|
`--enableSchemaCaching [enableSchemaCaching]`
|
|
89
|
-
: Boolean value specifying whether schema caching is enabled for the list. Valid values are `true
|
|
89
|
+
: Boolean value specifying whether schema caching is enabled for the list. Valid values are `true`, `false`.
|
|
90
90
|
|
|
91
91
|
`--enableSyndication [enableSyndication]`
|
|
92
|
-
: Boolean value that specifies whether RSS syndication is enabled for the list. Valid values are `true
|
|
92
|
+
: Boolean value that specifies whether RSS syndication is enabled for the list. Valid values are `true`, `false`.
|
|
93
93
|
|
|
94
94
|
`--enableThrottling [enableThrottling]`
|
|
95
|
-
: Indicates whether throttling for this list is enabled or not. Valid values are `true
|
|
95
|
+
: Indicates whether throttling for this list is enabled or not. Valid values are `true`, `false`.
|
|
96
96
|
|
|
97
97
|
`--enableVersioning [enableVersioning]`
|
|
98
|
-
: Boolean value that specifies whether versioning is enabled for the document library. Valid values are `true
|
|
98
|
+
: Boolean value that specifies whether versioning is enabled for the document library. Valid values are `true`, `false`.
|
|
99
99
|
|
|
100
100
|
`--enforceDataValidation [enforceDataValidation]`
|
|
101
|
-
: Value that indicates whether certain field properties are enforced when an item is added or updated. Valid values are `true
|
|
101
|
+
: Value that indicates whether certain field properties are enforced when an item is added or updated. Valid values are `true`, `false`.
|
|
102
102
|
|
|
103
103
|
`--excludeFromOfflineClient [excludeFromOfflineClient]`
|
|
104
|
-
: Value that indicates whether the list should be downloaded to the client during offline synchronization. Valid values are `true
|
|
104
|
+
: Value that indicates whether the list should be downloaded to the client during offline synchronization. Valid values are `true`, `false`.
|
|
105
105
|
|
|
106
106
|
`--fetchPropertyBagForListView [fetchPropertyBagForListView]`
|
|
107
|
-
: Specifies whether property bag information, as part of the list schema JSON,is retrieved when the list is being rendered on the client. Valid values are `true
|
|
107
|
+
: Specifies whether property bag information, as part of the list schema JSON,is retrieved when the list is being rendered on the client. Valid values are `true`, `false`.
|
|
108
108
|
|
|
109
109
|
`--followable [followable]`
|
|
110
|
-
: Can a list be followed in an activity feed?. Valid values are `true
|
|
110
|
+
: Can a list be followed in an activity feed?. Valid values are `true`, `false`.
|
|
111
111
|
|
|
112
112
|
`--forceCheckout [forceCheckout]`
|
|
113
|
-
: Boolean value that specifies whether forced checkout is enabled for the document library. Valid values are `true
|
|
113
|
+
: Boolean value that specifies whether forced checkout is enabled for the document library. Valid values are `true`, `false`.
|
|
114
114
|
|
|
115
115
|
`--forceDefaultContentType [forceDefaultContentType]`
|
|
116
|
-
: Specifies whether we want to return the default Document root content type. Valid values are `true
|
|
116
|
+
: Specifies whether we want to return the default Document root content type. Valid values are `true`, `false`.
|
|
117
117
|
|
|
118
118
|
`--hidden [hidden]`
|
|
119
|
-
: Boolean value that specifies whether the list is hidden. Valid values are `true
|
|
119
|
+
: Boolean value that specifies whether the list is hidden. Valid values are `true`, `false`.
|
|
120
120
|
|
|
121
121
|
`--includedInMyFilesScope [includedInMyFilesScope]`
|
|
122
|
-
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string “myfiles” by a case-insensitive comparison when the current user is a site collection administrator of the personal site that contains the list
|
|
122
|
+
: Specifies whether this list is accessible to an app principal that has been granted an OAuth scope that contains the string “myfiles” by a case-insensitive comparison when the current user is a site collection administrator of the personal site that contains the list.
|
|
123
123
|
|
|
124
124
|
`--irmEnabled [irmEnabled]`
|
|
125
|
-
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list
|
|
125
|
+
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list.
|
|
126
126
|
|
|
127
127
|
`--irmExpire [irmExpire]`
|
|
128
|
-
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) expiration is enabled for the list
|
|
128
|
+
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) expiration is enabled for the list.
|
|
129
129
|
|
|
130
130
|
`--irmReject [irmReject]`
|
|
131
|
-
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) rejection is enabled for the list
|
|
131
|
+
: Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) rejection is enabled for the list.
|
|
132
132
|
|
|
133
133
|
`--isApplicationList [isApplicationList]`
|
|
134
|
-
: Indicates whether this list should be treated as a top level navigation object or not
|
|
134
|
+
: Indicates whether this list should be treated as a top level navigation object or not.
|
|
135
135
|
|
|
136
136
|
`--listExperienceOptions [listExperienceOptions]`
|
|
137
|
-
: Gets or sets the list experience for the list. Allowed values Auto
|
|
137
|
+
: Gets or sets the list experience for the list. Allowed values `Auto`, `NewExperience`, `ClassicExperience`. Default `Auto`.
|
|
138
138
|
|
|
139
139
|
`--majorVersionLimit [majorVersionLimit]`
|
|
140
140
|
: Gets or sets the maximum number of major versions allowed for an item in a document library that uses version control with major versions only.
|
|
@@ -146,46 +146,46 @@ m365 spo list add [options]
|
|
|
146
146
|
: Gets or sets a Boolean value that specifies whether the list in a Meeting Workspace sitecontains data for multiple meeting instances within the site
|
|
147
147
|
|
|
148
148
|
`--navigateForFormsPages [navigateForFormsPages]`
|
|
149
|
-
: Indicates whether to navigate for forms pages or use a modal dialog
|
|
149
|
+
: Indicates whether to navigate for forms pages or use a modal dialog.
|
|
150
150
|
|
|
151
151
|
`--needUpdateSiteClientTag [needUpdateSiteClientTag]`
|
|
152
152
|
: A boolean value that determines whether to editing documents in this list should increment the ClientTag for the site. The tag is used to allow clients to cache JS/CSS/resources that are retrieved from the Content DB, including custom CSR templates.
|
|
153
153
|
|
|
154
154
|
`--noCrawl [noCrawl]`
|
|
155
|
-
: Gets or sets a Boolean value specifying whether crawling is enabled for the list
|
|
155
|
+
: Gets or sets a Boolean value specifying whether crawling is enabled for the list.
|
|
156
156
|
|
|
157
157
|
`--onQuickLaunch [onQuickLaunch]`
|
|
158
|
-
: Gets or sets a Boolean value that specifies whether the list appears on the Quick Launcharea of the home page
|
|
158
|
+
: Gets or sets a Boolean value that specifies whether the list appears on the Quick Launcharea of the home page.
|
|
159
159
|
|
|
160
160
|
`--ordered [ordered]`
|
|
161
|
-
: Gets or sets a Boolean value that specifies whether the option to allow users to reorderitems in the list is available on the Edit View page for the list
|
|
161
|
+
: Gets or sets a Boolean value that specifies whether the option to allow users to reorderitems in the list is available on the Edit View page for the list.
|
|
162
162
|
|
|
163
163
|
`--parserDisabled [parserDisabled]`
|
|
164
|
-
: Gets or sets a Boolean value that specifies whether the parser should be disabled
|
|
164
|
+
: Gets or sets a Boolean value that specifies whether the parser should be disabled.
|
|
165
165
|
|
|
166
166
|
`--readOnlyUI [readOnlyUI]`
|
|
167
|
-
: A boolean value that indicates whether the UI for this list should be presented in a read-only fashion. This will not affect security nor will it actually prevent changes to the list from occurring - it only affects the way the UI is displayed
|
|
167
|
+
: A boolean value that indicates whether the UI for this list should be presented in a read-only fashion. This will not affect security nor will it actually prevent changes to the list from occurring - it only affects the way the UI is displayed.
|
|
168
168
|
|
|
169
169
|
`--readSecurity [readSecurity]`
|
|
170
|
-
: Gets or sets the Read security setting for the list. Valid values are 1 (All users have Read access to all items)|2 (Users have Read access only to items that they create)
|
|
170
|
+
: Gets or sets the Read security setting for the list. Valid values are 1 (All users have Read access to all items)|2 (Users have Read access only to items that they create).
|
|
171
171
|
|
|
172
172
|
`--requestAccessEnabled [requestAccessEnabled]`
|
|
173
|
-
: Gets or sets a Boolean value that specifies whether the option to allow users to requestaccess to the list is available
|
|
173
|
+
: Gets or sets a Boolean value that specifies whether the option to allow users to requestaccess to the list is available.
|
|
174
174
|
|
|
175
175
|
`--restrictUserUpdates [restrictUserUpdates]`
|
|
176
|
-
: A boolean value that indicates whether the this list is a restricted one or not The value can't be changed if there are existing items in the list
|
|
176
|
+
: A boolean value that indicates whether the this list is a restricted one or not The value can't be changed if there are existing items in the list.
|
|
177
177
|
|
|
178
178
|
`--sendToLocationName [sendToLocationName]`
|
|
179
179
|
: Gets or sets a file name to use when copying an item in the list to another document library.
|
|
180
180
|
|
|
181
181
|
`--sendToLocationUrl [sendToLocationUrl]`
|
|
182
|
-
: Gets or sets a URL to use when copying an item in the list to another document library
|
|
182
|
+
: Gets or sets a URL to use when copying an item in the list to another document library.
|
|
183
183
|
|
|
184
184
|
`--showUser [showUser]`
|
|
185
|
-
: Gets or sets a Boolean value that specifies whether names of users are shown in the results of the survey
|
|
185
|
+
: Gets or sets a Boolean value that specifies whether names of users are shown in the results of the survey.
|
|
186
186
|
|
|
187
187
|
`--useFormsForDisplay [useFormsForDisplay]`
|
|
188
|
-
: Indicates whether forms should be considered for display context or not
|
|
188
|
+
: Indicates whether forms should be considered for display context or not.
|
|
189
189
|
|
|
190
190
|
`--validationFormula [validationFormula]`
|
|
191
191
|
: Gets or sets a formula that is evaluated each time that a list item is added or updated.
|
|
@@ -194,22 +194,22 @@ m365 spo list add [options]
|
|
|
194
194
|
: Gets or sets the message that is displayed when validation fails for a list item.
|
|
195
195
|
|
|
196
196
|
`--writeSecurity [writeSecurity]`
|
|
197
|
-
: Gets or sets the Write security setting for the list. Valid values are 1 (All users can modify all items)|2 (Users can modify only items that they create)|4 (Users cannot modify any list item)
|
|
197
|
+
: Gets or sets the Write security setting for the list. Valid values are 1 (All users can modify all items)|2 (Users can modify only items that they create)|4 (Users cannot modify any list item).
|
|
198
198
|
|
|
199
199
|
`--schemaXml [schemaXml]`
|
|
200
|
-
: (deprecated) The schema in Collaborative Application Markup Language (CAML) schemas that defines the list
|
|
200
|
+
: (deprecated) The schema in Collaborative Application Markup Language (CAML) schemas that defines the list.
|
|
201
201
|
|
|
202
202
|
--8<-- "docs/cmd/_global.md"
|
|
203
203
|
|
|
204
204
|
## Examples
|
|
205
205
|
|
|
206
|
-
Add a list with title
|
|
206
|
+
Add a list with specific title and baseTemplate in a specific site.
|
|
207
207
|
|
|
208
208
|
```sh
|
|
209
209
|
m365 spo list add --title Announcements --baseTemplate Announcements --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
-
Add a list with title
|
|
212
|
+
Add a list with specific title and baseTemplate in a specific site with content types and versioning enabled and major version limit set.
|
|
213
213
|
|
|
214
214
|
```sh
|
|
215
215
|
m365 spo list add --webUrl https://contoso.sharepoint.com/sites/project-x --title Announcements --baseTemplate Announcements --contentTypesEnabled true --enableVersioning true --majorVersionLimit 50
|
|
@@ -348,6 +348,72 @@ m365 spo list add --webUrl https://contoso.sharepoint.com/sites/project-x --titl
|
|
|
348
348
|
1,100,0,,,2022-11-16T19:52:41Z,"{""StringValue"":""1;3;3b6bd39e-1e62-4ddf-ac8e-020bf5353891;638042251616230000;564166296""}",00000000-0000-0000-0000-000000000000,,,none,,,,0,1,,,,1,1,TestList,,,,,,3b6bd39e-1e62-4ddf-ac8e-020bf5353891,"{""DecodedUrl"":""/_layouts/15/images/itgen.png?rev=47""}",/_layouts/15/images/itgen.png?rev=47,,,,,,,,0,2022-11-16T19:52:41Z,2022-11-16T19:52:42Z,2022-11-16T19:52:41Z,0,SP.Data.TestListItem,50,0,,,"{""DecodedUrl"":""/""}",/,,1,00bfea71-de22-43b2-a848-c05709900100,Test
|
|
349
349
|
```
|
|
350
350
|
|
|
351
|
+
=== "Markdown"
|
|
352
|
+
|
|
353
|
+
```md
|
|
354
|
+
# spo list add --contentTypesEnabled "true" --enableVersioning "true" --webUrl "https://contoso.sharepoint.com" --title "Test" --baseTemplate "GenericList" --majorVersionLimit "50"
|
|
355
|
+
|
|
356
|
+
Date: 2/20/2023
|
|
357
|
+
|
|
358
|
+
## Test (ea3dc19f-bc1f-4b77-afb8-14e08f4c0f6d)
|
|
359
|
+
|
|
360
|
+
Property | Value
|
|
361
|
+
---------|-------
|
|
362
|
+
AllowContentTypes | true
|
|
363
|
+
BaseTemplate | 100
|
|
364
|
+
BaseType | 0
|
|
365
|
+
ContentTypesEnabled | false
|
|
366
|
+
CrawlNonDefaultViews | false
|
|
367
|
+
Created | 2022-11-16T19:51:42Z
|
|
368
|
+
CurrentChangeToken | {"StringValue":"1;3;ea3dc19f-bc1f-4b77-afb8-14e08f4c0f6d;638042251016970000;564165920"}
|
|
369
|
+
DefaultContentApprovalWorkflowId | 00000000-0000-0000-0000-000000000000
|
|
370
|
+
DefaultItemOpenUseListSetting | false
|
|
371
|
+
Description |
|
|
372
|
+
Direction | none
|
|
373
|
+
DisableCommenting | false
|
|
374
|
+
DisableGridEditing | false
|
|
375
|
+
DocumentTemplateUrl | null
|
|
376
|
+
DraftVersionVisibility | 0
|
|
377
|
+
EnableAttachments | true
|
|
378
|
+
EnableFolderCreation | false
|
|
379
|
+
EnableMinorVersions | false
|
|
380
|
+
EnableModeration | false
|
|
381
|
+
EnableRequestSignOff | true
|
|
382
|
+
EnableVersioning | true
|
|
383
|
+
EntityTypeName | AnnouncementsList
|
|
384
|
+
ExemptFromBlockDownloadOfNonViewableFiles | false
|
|
385
|
+
FileSavePostProcessingEnabled | false
|
|
386
|
+
ForceCheckout | false
|
|
387
|
+
HasExternalDataSource | false
|
|
388
|
+
Hidden | false
|
|
389
|
+
Id | ea3dc19f-bc1f-4b77-afb8-14e08f4c0f6d
|
|
390
|
+
ImagePath | {"DecodedUrl":"/\/_layouts/15/images/itgen.png?rev=47"}
|
|
391
|
+
ImageUrl | /\/_layouts/15/images/itgen.png?rev=47
|
|
392
|
+
DefaultSensitivityLabelForLibrary |
|
|
393
|
+
IrmEnabled | false
|
|
394
|
+
IrmExpire | false
|
|
395
|
+
IrmReject | false
|
|
396
|
+
IsApplicationList | false
|
|
397
|
+
IsCatalog | false
|
|
398
|
+
IsPrivate | false
|
|
399
|
+
ItemCount | 0
|
|
400
|
+
LastItemDeletedDate | 2022-11-16T19:51:42Z
|
|
401
|
+
LastItemModifiedDate | 2022-11-16T19:51:42Z
|
|
402
|
+
LastItemUserModifiedDate | 2022-11-16T19:51:42Z
|
|
403
|
+
ListExperienceOptions | 0
|
|
404
|
+
ListItemEntityTypeFullName | SP.Data.TestListItem
|
|
405
|
+
MajorVersionLimit | 50
|
|
406
|
+
MajorWithMinorVersionsLimit | 0
|
|
407
|
+
MultipleDataList | false
|
|
408
|
+
NoCrawl | false
|
|
409
|
+
ParentWebPath | {"DecodedUrl":"/"}
|
|
410
|
+
ParentWebUrl | /
|
|
411
|
+
ParserDisabled | false
|
|
412
|
+
ServerTemplateCanCreateFolders | true
|
|
413
|
+
TemplateFeatureId | 00bfea71-de22-43b2-a848-c05709900100
|
|
414
|
+
Title | Test
|
|
415
|
+
```
|
|
416
|
+
|
|
351
417
|
## More information
|
|
352
418
|
|
|
353
419
|
- SPList Class Members information: [https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list_members.aspx](https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list_members.aspx)
|
|
@@ -13,17 +13,17 @@ m365 spo list contenttype add [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
|
-
`-
|
|
17
|
-
: ID of the list. Specify either `listTitle`, `listId
|
|
16
|
+
`-l, --listId [listId]`
|
|
17
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list. Specify either `listTitle`, `listId
|
|
20
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
21
|
|
|
22
22
|
`--listUrl [listUrl]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
24
|
|
|
25
25
|
`-i, --id <id>`
|
|
26
|
-
: ID of the content type to add to the list
|
|
26
|
+
: ID of the content type to add to the list.
|
|
27
27
|
|
|
28
28
|
--8<-- "docs/cmd/_global.md"
|
|
29
29
|
|
|
@@ -133,3 +133,48 @@ m365 spo list contenttype add --webUrl https://contoso.sharepoint.com/sites/proj
|
|
|
133
133
|
ClientFormCustomFormatter,Description,DisplayFormClientSideComponentId,DisplayFormClientSideComponentProperties,DisplayFormTarget,DisplayFormTemplateName,DisplayFormUrl,DocumentTemplate,DocumentTemplateUrl,EditFormClientSideComponentId,EditFormClientSideComponentProperties,EditFormTarget,EditFormTemplateName,EditFormUrl,Group,Hidden,Id,JSLink,MobileDisplayFormUrl,MobileEditFormUrl,MobileNewFormUrl,Name,NewFormClientSideComponentId,NewFormClientSideComponentProperties,NewFormTarget,NewFormTemplateName,NewFormUrl,ReadOnly,SchemaXml,Scope,Sealed,StringId
|
|
134
134
|
,Create a new list item.,,,0,ListForm,,,,,,0,ListForm,,List Content Types,,"{""StringValue"":""0x01006D9EF01B2D22B3428279F8CF918B5EE0""}",,,,,Item,,,0,ListForm,,,"<ContentType ID=""0x01006D9EF01B2D22B3428279F8CF918B5EE0"" Name=""Item"" Group=""List Content Types"" Description=""Create a new list item."" Version=""0"" FeatureId=""{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}"" FeatureIds=""{695b6570-a48b-4a8e-8ea5-26ea7fc1d162};{c94c1702-30a7-454c-be15-5a895223428d}""><Folder TargetName=""Item""/><Fields><Field ID=""{c042a256-787d-4a6f-8a8a-cf6ab767f12d}"" Type=""Computed"" DisplayName=""Content Type"" Name=""ContentType"" DisplaceOnUpgrade=""TRUE"" RenderXMLUsingPattern=""TRUE"" Sortable=""FALSE"" SourceID=""http://schemas.microsoft.com/sharepoint/v3"" StaticName=""ContentType"" Group=""_Hidden"" PITarget=""MicrosoftWindowsSharePointServices"" PIAttribute=""ContentTypeID"" FromBaseType=""TRUE""><FieldRefs><FieldRef Name=""ContentTypeId""/></FieldRefs><DisplayPattern><MapToContentType><Column Name=""ContentTypeId""/></MapToContentType></DisplayPattern></Field><Field ID=""{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"" Type=""Text"" Name=""Title"" DisplayName=""Title"" Required=""TRUE"" SourceID=""http://schemas.microsoft.com/sharepoint/v3"" StaticName=""Title"" FromBaseType=""TRUE"" ColName=""nvarchar1"" ShowInNewForm=""TRUE"" ShowInEditForm=""TRUE""/></Fields><XmlDocuments><XmlDocument NamespaceURI=""http://schemas.microsoft.com/sharepoint/v3/contenttype/forms""><FormTemplates xmlns=""http://schemas.microsoft.com/sharepoint/v3/contenttype/forms""><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>",/Lists/Test,,0x01006D9EF01B2D22B3428279F8CF918B5EE0
|
|
135
135
|
```
|
|
136
|
+
|
|
137
|
+
=== "Markdown"
|
|
138
|
+
|
|
139
|
+
```md
|
|
140
|
+
# spo list contenttype add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents" --id "0x0103"
|
|
141
|
+
|
|
142
|
+
Date: 2/20/2023
|
|
143
|
+
|
|
144
|
+
## Item ([object Object])
|
|
145
|
+
|
|
146
|
+
Property | Value
|
|
147
|
+
---------|-------
|
|
148
|
+
ClientFormCustomFormatter |
|
|
149
|
+
Description | Create a new list item.
|
|
150
|
+
DisplayFormClientSideComponentId |
|
|
151
|
+
DisplayFormClientSideComponentProperties |
|
|
152
|
+
DisplayFormTarget | 0
|
|
153
|
+
DisplayFormTemplateName | ListForm
|
|
154
|
+
DisplayFormUrl |
|
|
155
|
+
DocumentTemplate |
|
|
156
|
+
DocumentTemplateUrl |
|
|
157
|
+
EditFormClientSideComponentId |
|
|
158
|
+
EditFormClientSideComponentProperties |
|
|
159
|
+
EditFormTarget | 0
|
|
160
|
+
EditFormTemplateName | ListForm
|
|
161
|
+
EditFormUrl |
|
|
162
|
+
Group | List Content Types
|
|
163
|
+
Hidden | false
|
|
164
|
+
Id | {"StringValue":"0x01000B1208C5D23DF44B9F1AEE7373DE9D5E"}
|
|
165
|
+
JSLink |
|
|
166
|
+
MobileDisplayFormUrl |
|
|
167
|
+
MobileEditFormUrl |
|
|
168
|
+
MobileNewFormUrl |
|
|
169
|
+
Name | Issue
|
|
170
|
+
NewFormClientSideComponentId | null
|
|
171
|
+
NewFormClientSideComponentProperties |
|
|
172
|
+
NewFormTarget | 0
|
|
173
|
+
NewFormTemplateName | ListForm
|
|
174
|
+
NewFormUrl |
|
|
175
|
+
ReadOnly | false
|
|
176
|
+
SchemaXml | <ContentType ID="0x01000B1208C5D23DF44B9F1AEE7373DE9D5E" Name="Item" Group="List Content Types" Description="Create a new list item." Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}" FeatureIds="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162};{c94c1702-30a7-454c-be15-5a895223428d}"><Folder TargetName="Item"/><Fields><Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Content Type" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE"><FieldRefs><FieldRef Name="ContentTypeId"/></FieldRefs><DisplayPattern><MapToContentType><Column Name="ContentTypeId"/></MapToContentType></DisplayPattern></Field><Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="Title" Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" FromBaseType="TRUE" ColName="nvarchar1" ShowInNewForm="TRUE" ShowInEditForm="TRUE"/></Fields><XmlDocuments><XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"><FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>
|
|
177
|
+
Scope | /Lists/Test
|
|
178
|
+
Sealed | false
|
|
179
|
+
StringId | 0x01000B1208C5D23DF44B9F1AEE7373DE9D5E
|
|
180
|
+
```
|
|
@@ -13,14 +13,14 @@ m365 spo list contenttype default set [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
|
-
`-
|
|
17
|
-
: ID of the list. Specify either `listTitle`, `listId
|
|
16
|
+
`-l, --listId [listId]`
|
|
17
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list. Specify either `listTitle`, `listId
|
|
20
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
21
|
|
|
22
22
|
`--listUrl [listUrl]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
24
|
|
|
25
25
|
`-c, --contentTypeId <contentTypeId>`
|
|
26
26
|
: ID of the content type
|
|
@@ -13,14 +13,14 @@ m365 spo list contenttype list [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
|
-
`-
|
|
17
|
-
: ID of the list. Specify either `listTitle`, `listId
|
|
16
|
+
`-l, --listId [listId]`
|
|
17
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list. Specify either `listTitle`, `listId
|
|
20
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
21
|
|
|
22
22
|
`--listUrl [listUrl]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
24
|
|
|
25
25
|
--8<-- "docs/cmd/_global.md"
|
|
26
26
|
|
|
@@ -103,3 +103,48 @@ m365 spo list contenttype list --webUrl https://contoso.sharepoint.com/sites/pro
|
|
|
103
103
|
StringId,Name,Hidden,ReadOnly,Sealed
|
|
104
104
|
0x01000B1208C5D23DF44B9F1AEE7373DE9D5E,Item,,,
|
|
105
105
|
```
|
|
106
|
+
|
|
107
|
+
=== "Markdown"
|
|
108
|
+
|
|
109
|
+
```md
|
|
110
|
+
# spo list contenttype list --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents"
|
|
111
|
+
|
|
112
|
+
Date: 2/20/2023
|
|
113
|
+
|
|
114
|
+
## Document ([object Object])
|
|
115
|
+
|
|
116
|
+
Property | Value
|
|
117
|
+
---------|-------
|
|
118
|
+
ClientFormCustomFormatter |
|
|
119
|
+
Description | Create a new list item.
|
|
120
|
+
DisplayFormClientSideComponentId |
|
|
121
|
+
DisplayFormClientSideComponentProperties |
|
|
122
|
+
DisplayFormTarget | 0
|
|
123
|
+
DisplayFormTemplateName | ListForm
|
|
124
|
+
DisplayFormUrl |
|
|
125
|
+
DocumentTemplate |
|
|
126
|
+
DocumentTemplateUrl |
|
|
127
|
+
EditFormClientSideComponentId |
|
|
128
|
+
EditFormClientSideComponentProperties |
|
|
129
|
+
EditFormTarget | 0
|
|
130
|
+
EditFormTemplateName | ListForm
|
|
131
|
+
EditFormUrl |
|
|
132
|
+
Group | List Content Types
|
|
133
|
+
Hidden | false
|
|
134
|
+
Id | {"StringValue":"0x01000B1208C5D23DF44B9F1AEE7373DE9D5E"}
|
|
135
|
+
JSLink |
|
|
136
|
+
MobileDisplayFormUrl |
|
|
137
|
+
MobileEditFormUrl |
|
|
138
|
+
MobileNewFormUrl |
|
|
139
|
+
Name | Item
|
|
140
|
+
NewFormClientSideComponentId | null
|
|
141
|
+
NewFormClientSideComponentProperties |
|
|
142
|
+
NewFormTarget | 0
|
|
143
|
+
NewFormTemplateName | ListForm
|
|
144
|
+
NewFormUrl |
|
|
145
|
+
ReadOnly | false
|
|
146
|
+
SchemaXml | <ContentType ID="0x01000B1208C5D23DF44B9F1AEE7373DE9D5E" Name="Item" Group="List Content Types" Description="Create a new list item." Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}" FeatureIds="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162};{c94c1702-30a7-454c-be15-5a895223428d}"><Folder TargetName="Item"/><Fields><Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Content Type" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE"><FieldRefs><FieldRef Name="ContentTypeId"/></FieldRefs><DisplayPattern><MapToContentType><Column Name="ContentTypeId"/></MapToContentType></DisplayPattern></Field><Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="Title" Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" FromBaseType="TRUE" ColName="nvarchar1" ShowInNewForm="TRUE" ShowInEditForm="TRUE"/></Fields><XmlDocuments><XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"><FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>
|
|
147
|
+
Scope | /Lists/Test
|
|
148
|
+
Sealed | false
|
|
149
|
+
StringId | 0x01000B1208C5D23DF44B9F1AEE7373DE9D5E
|
|
150
|
+
```
|
|
@@ -13,20 +13,20 @@ m365 spo list contenttype remove [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
|
-
`-
|
|
17
|
-
: ID of the list. Specify either `listTitle`, `listId
|
|
16
|
+
`-l, --listId [listId]`
|
|
17
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list. Specify either `listTitle`, `listId
|
|
20
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
21
|
|
|
22
22
|
`--listUrl [listUrl]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
24
|
|
|
25
25
|
`-i, --id <id>`
|
|
26
|
-
: ID of the content type to remove from the list
|
|
26
|
+
: ID of the content type to remove from the list.
|
|
27
27
|
|
|
28
28
|
`--confirm`
|
|
29
|
-
: Don't prompt for confirmation
|
|
29
|
+
: Don't prompt for confirmation.
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
@@ -11,16 +11,16 @@ m365 spo list get [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site where the list to retrieve is located
|
|
14
|
+
: URL of the site where the list to retrieve is located.
|
|
15
15
|
|
|
16
16
|
`-i, --id [id]`
|
|
17
|
-
: ID of the list to retrieve information for. Specify either `id`, `title
|
|
17
|
+
: ID of the list to retrieve information for. Specify either `id`, `title`, or `url` but not multiple.
|
|
18
18
|
|
|
19
19
|
`-t, --title [title]`
|
|
20
|
-
: Title of the list to retrieve information for. Specify either `id`, `title
|
|
20
|
+
: Title of the list to retrieve information for. Specify either `id`, `title`, or `url` but not multiple.
|
|
21
21
|
|
|
22
22
|
`--url [url]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `id`, `title
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `id`, `title`, or `url` but not multiple.
|
|
24
24
|
|
|
25
25
|
`-p, --properties [properties]`
|
|
26
26
|
: Comma-separated list of properties to retrieve from the list. Will retrieve all properties possible from default response, if not specified.
|
|
@@ -204,3 +204,69 @@ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/site
|
|
|
204
204
|
AllowContentTypes,BaseTemplate,BaseType,ContentTypesEnabled,CrawlNonDefaultViews,Created,CurrentChangeToken,DefaultContentApprovalWorkflowId,DefaultItemOpenUseListSetting,Description,Direction,DisableCommenting,DisableGridEditing,DocumentTemplateUrl,DraftVersionVisibility,EnableAttachments,EnableFolderCreation,EnableMinorVersions,EnableModeration,EnableRequestSignOff,EnableVersioning,EntityTypeName,ExemptFromBlockDownloadOfNonViewableFiles,FileSavePostProcessingEnabled,ForceCheckout,HasExternalDataSource,Hidden,Id,ImagePath,ImageUrl,DefaultSensitivityLabelForLibrary,IrmEnabled,IrmExpire,IrmReject,IsApplicationList,IsCatalog,IsPrivate,ItemCount,LastItemDeletedDate,LastItemModifiedDate,LastItemUserModifiedDate,ListExperienceOptions,ListItemEntityTypeFullName,MajorVersionLimit,MajorWithMinorVersionsLimit,MultipleDataList,NoCrawl,ParentWebPath,ParentWebUrl,ParserDisabled,ServerTemplateCanCreateFolders,TemplateFeatureId,Title
|
|
205
205
|
1,100,0,1,,2022-10-23T09:30:00Z,"{""StringValue"":""1;3;97d19285-b8a6-4c7f-9c6c-d6b850a6561a;638042258543870000;564169743""}",00000000-0000-0000-0000-000000000000,,,none,,,,0,1,,,,1,1,TestList,,,,,,97d19285-b8a6-4c7f-9c6c-d6b850a6561a,"{""DecodedUrl"":""/_layouts/15/images/itgen.png?rev=47""}",/_layouts/15/images/itgen.png?rev=47,,,,,,,,0,2022-11-16T19:55:37Z,2022-11-16T19:55:39Z,2022-11-16T19:55:37Z,0,SP.Data.TestListItem,50,0,,,"{""DecodedUrl"":""/""}",/,,1,00bfea71-de22-43b2-a848-c05709900100,Test
|
|
206
206
|
```
|
|
207
|
+
|
|
208
|
+
=== "Markdown"
|
|
209
|
+
|
|
210
|
+
```md
|
|
211
|
+
# spo list get --title "Test" --webUrl "https://contoso.sharepoint.com"
|
|
212
|
+
|
|
213
|
+
Date: 2/20/2023
|
|
214
|
+
|
|
215
|
+
## Test (97d19285-b8a6-4c7f-9c6c-d6b850a6561a)
|
|
216
|
+
|
|
217
|
+
Property | Value
|
|
218
|
+
---------|-------
|
|
219
|
+
AllowContentTypes | true
|
|
220
|
+
BaseTemplate | 100
|
|
221
|
+
BaseType | 0
|
|
222
|
+
ContentTypesEnabled | false
|
|
223
|
+
CrawlNonDefaultViews | false
|
|
224
|
+
Created | 2022-10-23T09:30:00Z
|
|
225
|
+
CurrentChangeToken | {"StringValue":"1;3;97d19285-b8a6-4c7f-9c6c-d6b850a6561a;638042258222730000;564169620"}
|
|
226
|
+
DefaultContentApprovalWorkflowId | 00000000-0000-0000-0000-000000000000
|
|
227
|
+
DefaultItemOpenUseListSetting | false
|
|
228
|
+
Description |
|
|
229
|
+
Direction | none
|
|
230
|
+
DisableCommenting | false
|
|
231
|
+
DisableGridEditing | false
|
|
232
|
+
DocumentTemplateUrl |
|
|
233
|
+
DraftVersionVisibility | 0
|
|
234
|
+
EnableAttachments | true
|
|
235
|
+
EnableFolderCreation | false
|
|
236
|
+
EnableMinorVersions | false
|
|
237
|
+
EnableModeration | false
|
|
238
|
+
EnableRequestSignOff | true
|
|
239
|
+
EnableVersioning | true
|
|
240
|
+
EntityTypeName | TestList
|
|
241
|
+
ExemptFromBlockDownloadOfNonViewableFiles | false
|
|
242
|
+
FileSavePostProcessingEnabled | false
|
|
243
|
+
ForceCheckout | false
|
|
244
|
+
HasExternalDataSource | false
|
|
245
|
+
Hidden | false
|
|
246
|
+
Id | 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
|
|
247
|
+
ImagePath | {"DecodedUrl":"/\_layouts/15/images/itgen.png?rev=47"}
|
|
248
|
+
ImageUrl | /\_layouts/15/images/itgen.png?rev=47
|
|
249
|
+
DefaultSensitivityLabelForLibrary |
|
|
250
|
+
IrmEnabled | false
|
|
251
|
+
IrmExpire | false
|
|
252
|
+
IrmReject | false
|
|
253
|
+
IsApplicationList | false
|
|
254
|
+
IsCatalog | false
|
|
255
|
+
IsPrivate | false
|
|
256
|
+
ItemCount | 0
|
|
257
|
+
LastItemDeletedDate | 2022-11-16T19:55:37Z
|
|
258
|
+
LastItemModifiedDate | 2022-11-16T19:55:39Z
|
|
259
|
+
LastItemUserModifiedDate | 2022-11-16T19:55:37Z
|
|
260
|
+
ListExperienceOptions | 0
|
|
261
|
+
ListItemEntityTypeFullName | SP.Data.TestListItem
|
|
262
|
+
MajorVersionLimit | 50
|
|
263
|
+
MajorWithMinorVersionsLimit | 0
|
|
264
|
+
MultipleDataList | false
|
|
265
|
+
NoCrawl | false
|
|
266
|
+
ParentWebPath | {"DecodedUrl":"/"}
|
|
267
|
+
ParentWebUrl | /
|
|
268
|
+
ParserDisabled | false
|
|
269
|
+
ServerTemplateCanCreateFolders | true
|
|
270
|
+
TemplateFeatureId | 00bfea71-de22-43b2-a848-c05709900100
|
|
271
|
+
Title | Test
|
|
272
|
+
```
|