@pnp/cli-microsoft365 6.3.0-beta.c3dc921 → 6.3.0-beta.cefe20e

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.
Files changed (259) hide show
  1. package/.eslintrc.js +8 -0
  2. package/dist/Auth.js +0 -18
  3. package/dist/Command.js +12 -1
  4. package/dist/appInsights.js +2 -1
  5. package/dist/cli/Cli.js +74 -3
  6. package/dist/m365/aad/commands/group/group-list.js +2 -1
  7. package/dist/m365/aad/commands/license/license-list.js +41 -0
  8. package/dist/m365/aad/commands/user/user-add.js +223 -0
  9. package/dist/m365/aad/commands/user/user-license-add.js +88 -0
  10. package/dist/m365/aad/commands/user/user-license-list.js +99 -0
  11. package/dist/m365/aad/commands/user/user-license-remove.js +114 -0
  12. package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +103 -0
  13. package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
  14. package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
  15. package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +77 -0
  16. package/dist/m365/aad/commands/user/user-remove.js +107 -0
  17. package/dist/m365/aad/commands.js +10 -0
  18. package/dist/m365/base/O365MgmtCommand.js +10 -0
  19. package/dist/m365/context/commands/option/option-list.js +54 -0
  20. package/dist/m365/context/commands.js +1 -0
  21. package/dist/m365/file/commands/convert/convert-pdf.js +7 -6
  22. package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
  23. package/dist/m365/flow/commands/environment/environment-get.js +26 -11
  24. package/dist/m365/flow/commands/run/run-list.js +55 -3
  25. package/dist/m365/graph/commands/changelog/changelog-list.js +3 -2
  26. package/dist/m365/onenote/commands/notebook/notebook-list.js +50 -53
  27. package/dist/m365/onenote/commands/page/page-list.js +2 -16
  28. package/dist/m365/outlook/commands/mail/mail-send.js +3 -2
  29. package/dist/m365/outlook/commands/message/message-get.js +4 -3
  30. package/dist/m365/pa/commands/environment/environment-get.js +13 -5
  31. package/dist/m365/planner/commands/plan/plan-add.js +20 -6
  32. package/dist/m365/planner/commands/plan/plan-get.js +40 -26
  33. package/dist/m365/planner/commands/plan/plan-list.js +24 -14
  34. package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
  35. package/dist/m365/planner/commands/plan/plan-set.js +21 -10
  36. package/dist/m365/planner/commands/roster/roster-add.js +47 -0
  37. package/dist/m365/planner/commands/roster/roster-get.js +61 -0
  38. package/dist/m365/planner/commands/roster/roster-member-add.js +113 -0
  39. package/dist/m365/planner/commands/roster/roster-member-list.js +54 -0
  40. package/dist/m365/planner/commands/roster/roster-member-remove.js +140 -0
  41. package/dist/m365/planner/commands/roster/roster-remove.js +88 -0
  42. package/dist/m365/planner/commands/task/task-add.js +3 -0
  43. package/dist/m365/planner/commands/task/task-checklistitem-add.js +2 -1
  44. package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
  45. package/dist/m365/planner/commands.js +6 -0
  46. package/dist/m365/pp/commands/environment/environment-get.js +18 -9
  47. package/dist/m365/pp/commands/solution/solution-get.js +2 -1
  48. package/dist/m365/pp/commands/solution/solution-list.js +2 -1
  49. package/dist/m365/purview/commands/auditlog/auditlog-list.js +205 -0
  50. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +75 -0
  51. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +46 -0
  52. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +97 -0
  53. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +77 -0
  54. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +75 -0
  55. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +43 -0
  56. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +97 -0
  57. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +90 -0
  58. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +5 -0
  59. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +5 -0
  60. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
  61. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +5 -0
  62. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +11 -1
  63. package/dist/m365/purview/commands.js +9 -0
  64. package/dist/m365/spfx/commands/project/WebApiPermissionRequests.js +3 -0
  65. package/dist/m365/spfx/commands/project/project-permissions-grant.js +81 -0
  66. package/dist/m365/spfx/commands.js +3 -2
  67. package/dist/m365/spo/commands/app/app-add.js +2 -1
  68. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +95 -0
  69. package/dist/m365/spo/commands/customaction/customaction-get.js +17 -66
  70. package/dist/m365/spo/commands/customaction/customaction-list.js +2 -36
  71. package/dist/m365/spo/commands/customaction/customaction-remove.js +11 -18
  72. package/dist/m365/spo/commands/file/GraphFileDetails.js +0 -1
  73. package/dist/m365/spo/commands/file/file-move.js +0 -2
  74. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +2 -1
  75. package/dist/m365/spo/commands/file/file-sharinglink-add.js +2 -22
  76. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +137 -0
  77. package/dist/m365/spo/commands/file/file-sharinglink-get.js +2 -25
  78. package/dist/m365/spo/commands/file/file-sharinglink-list.js +9 -29
  79. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -25
  80. package/dist/m365/spo/commands/file/file-sharinglink-set.js +104 -0
  81. package/dist/m365/spo/commands/folder/folder-copy.js +0 -2
  82. package/dist/m365/spo/commands/folder/folder-move.js +0 -2
  83. package/dist/m365/spo/commands/group/group-list.js +2 -1
  84. package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
  85. package/dist/m365/spo/commands/listitem/listitem-add.js +2 -1
  86. package/dist/m365/spo/commands/listitem/listitem-list.js +2 -1
  87. package/dist/m365/spo/commands/navigation/navigation-node-add.js +17 -3
  88. package/dist/m365/spo/commands/navigation/navigation-node-get.js +73 -0
  89. package/dist/m365/spo/commands/navigation/navigation-node-list.js +4 -7
  90. package/dist/m365/spo/commands/navigation/navigation-node-set.js +118 -0
  91. package/dist/m365/spo/commands/page/page-column-get.js +2 -1
  92. package/dist/m365/spo/commands/page/page-column-list.js +2 -1
  93. package/dist/m365/spo/commands/page/page-section-get.js +2 -1
  94. package/dist/m365/spo/commands/page/page-section-list.js +2 -1
  95. package/dist/m365/spo/commands/site/site-add.js +0 -3
  96. package/dist/m365/spo/commands/site/site-apppermission-add.js +2 -14
  97. package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -14
  98. package/dist/m365/spo/commands/site/site-apppermission-list.js +2 -14
  99. package/dist/m365/spo/commands/site/site-apppermission-remove.js +2 -14
  100. package/dist/m365/spo/commands/site/site-apppermission-set.js +2 -14
  101. package/dist/m365/spo/commands/site/site-remove.js +0 -3
  102. package/dist/m365/spo/commands/site/site-set.js +0 -2
  103. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -0
  104. package/dist/m365/spo/commands/spo-search.js +2 -1
  105. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +179 -0
  106. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
  107. package/dist/m365/spo/commands/term/term-list.js +2 -1
  108. package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -2
  109. package/dist/m365/spo/commands/web/web-set.js +11 -4
  110. package/dist/m365/spo/commands.js +6 -0
  111. package/dist/m365/teams/commands/chat/chat-list.js +4 -4
  112. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +5 -5
  113. package/dist/m365/teams/commands/meeting/meeting-get.js +5 -5
  114. package/dist/m365/teams/commands/meeting/meeting-list.js +5 -4
  115. package/dist/m365/teams/commands/team/team-add.js +3 -8
  116. package/dist/m365/teams/commands/team/team-app-list.js +1 -1
  117. package/dist/m365/teams/commands/user/user-app-list.js +2 -1
  118. package/dist/m365/todo/commands/task/task-get.js +2 -1
  119. package/dist/m365/todo/commands/task/task-list.js +2 -1
  120. package/dist/m365/yammer/commands/yammer-search.js +2 -1
  121. package/dist/utils/aadUser.js +38 -0
  122. package/dist/utils/accessToken.js +1 -1
  123. package/dist/utils/planner.js +16 -5
  124. package/dist/utils/session.js +18 -0
  125. package/dist/utils/spo.js +119 -12
  126. package/docs/docs/cmd/aad/app/app-list.md +3 -0
  127. package/docs/docs/cmd/aad/license/license-list.md +87 -0
  128. package/docs/docs/cmd/aad/user/user-add.md +168 -0
  129. package/docs/docs/cmd/aad/user/user-license-add.md +108 -0
  130. package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
  131. package/docs/docs/cmd/aad/user/user-license-remove.md +43 -0
  132. package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +42 -0
  133. package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
  134. package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
  135. package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.md +99 -0
  136. package/docs/docs/cmd/aad/user/user-remove.md +51 -0
  137. package/docs/docs/cmd/aad/user/user-set.md +2 -2
  138. package/docs/docs/cmd/context/option/option-list.md +63 -0
  139. package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
  140. package/docs/docs/cmd/flow/run/run-list.md +21 -0
  141. package/docs/docs/cmd/login.md +26 -0
  142. package/docs/docs/cmd/logout.md +4 -0
  143. package/docs/docs/cmd/pa/app/app-get.md +24 -0
  144. package/docs/docs/cmd/pa/app/app-list.md +21 -0
  145. package/docs/docs/cmd/pa/connector/connector-list.md +17 -0
  146. package/docs/docs/cmd/pa/environment/environment-get.md +26 -2
  147. package/docs/docs/cmd/pa/environment/environment-list.md +19 -0
  148. package/docs/docs/cmd/planner/plan/plan-add.md +17 -6
  149. package/docs/docs/cmd/planner/plan/plan-get.md +21 -7
  150. package/docs/docs/cmd/planner/plan/plan-list.md +16 -2
  151. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  152. package/docs/docs/cmd/planner/plan/plan-set.md +10 -4
  153. package/docs/docs/cmd/planner/roster/roster-add.md +60 -0
  154. package/docs/docs/cmd/planner/roster/roster-get.md +73 -0
  155. package/docs/docs/cmd/planner/roster/roster-member-add.md +87 -0
  156. package/docs/docs/cmd/planner/roster/roster-member-list.md +76 -0
  157. package/docs/docs/cmd/planner/roster/roster-member-remove.md +51 -0
  158. package/docs/docs/cmd/planner/roster/roster-remove.md +48 -0
  159. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.md +43 -0
  160. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +43 -0
  161. package/docs/docs/cmd/pp/card/card-clone.md +12 -0
  162. package/docs/docs/cmd/pp/card/card-get.md +49 -0
  163. package/docs/docs/cmd/pp/card/card-list.md +49 -0
  164. package/docs/docs/cmd/pp/chatbot/chatbot-get.md +55 -0
  165. package/docs/docs/cmd/pp/chatbot/chatbot-list.md +36 -0
  166. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +30 -0
  167. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +30 -0
  168. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +30 -0
  169. package/docs/docs/cmd/pp/environment/environment-get.md +19 -0
  170. package/docs/docs/cmd/pp/environment/environment-list.md +19 -0
  171. package/docs/docs/cmd/pp/gateway/gateway-get.md +19 -0
  172. package/docs/docs/cmd/pp/gateway/gateway-list.md +19 -0
  173. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +12 -0
  174. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +12 -0
  175. package/docs/docs/cmd/pp/solution/solution-get.md +14 -0
  176. package/docs/docs/cmd/pp/solution/solution-list.md +14 -0
  177. package/docs/docs/cmd/pp/solution/solution-publisher-get.md +20 -1
  178. package/docs/docs/cmd/pp/solution/solution-publisher-list.md +18 -0
  179. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +21 -0
  180. package/docs/docs/cmd/purview/auditlog/auditlog-list.md +123 -0
  181. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +132 -0
  182. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +107 -0
  183. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +45 -0
  184. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +106 -0
  185. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +103 -0
  186. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +97 -0
  187. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +43 -0
  188. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +43 -0
  189. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +3 -0
  190. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +3 -0
  191. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +3 -0
  192. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +3 -0
  193. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +3 -0
  194. package/docs/docs/cmd/request.md +74 -0
  195. package/docs/docs/cmd/spfx/project/project-permissions-grant.md +65 -0
  196. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +56 -0
  197. package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +46 -0
  198. package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
  199. package/docs/docs/cmd/spo/file/file-sharinglink-set.md +104 -0
  200. package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
  201. package/docs/docs/cmd/spo/homesite/homesite-remove.md +8 -2
  202. package/docs/docs/cmd/spo/homesite/homesite-set.md +8 -2
  203. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
  204. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
  205. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
  206. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
  207. package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
  208. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
  209. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
  210. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
  211. package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
  212. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
  213. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +7 -1
  214. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +9 -3
  215. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +8 -2
  216. package/docs/docs/cmd/spo/list/list-add.md +123 -57
  217. package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
  218. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
  219. package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
  220. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
  221. package/docs/docs/cmd/spo/list/list-get.md +70 -4
  222. package/docs/docs/cmd/spo/list/list-list.md +70 -2
  223. package/docs/docs/cmd/spo/list/list-remove.md +6 -6
  224. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
  225. package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
  226. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
  227. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
  228. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
  229. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
  230. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
  231. package/docs/docs/cmd/spo/list/list-set.md +61 -61
  232. package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
  233. package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
  234. package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
  235. package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
  236. package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
  237. package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
  238. package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
  239. package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
  240. package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
  241. package/docs/docs/cmd/spo/listitem/listitem-add.md +29 -0
  242. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +19 -4
  243. package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
  244. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +8 -2
  245. package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
  246. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
  247. package/docs/docs/cmd/spo/listitem/listitem-set.md +30 -0
  248. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +40 -3
  249. package/docs/docs/cmd/spo/navigation/navigation-node-get.md +91 -0
  250. package/docs/docs/cmd/spo/navigation/navigation-node-list.md +30 -0
  251. package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +1 -1
  252. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +59 -0
  253. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.md +3 -0
  254. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +59 -0
  255. package/docs/docs/cmd/spo/web/web-set.md +9 -0
  256. package/docs/docs/cmd/status.md +46 -0
  257. package/docs/docs/cmd/version.md +26 -0
  258. package/npm-shrinkwrap.json +912 -876
  259. package/package.json +13 -12
@@ -14,130 +14,130 @@ m365 spo list set [options]
14
14
  : URL of the site
15
15
 
16
16
  `--id [id]`
17
- : ID of the list. Specify either id, title or url but not multiple.
17
+ : ID of the list. Specify either `id`, `title`, or `url` but not multiple.
18
18
 
19
19
  `--title [title]`
20
- : Title of the list. Specify either id, title or url but not multiple.
20
+ : Title of the list. Specify either `id`, `title`, or `url` but not multiple.
21
21
 
22
22
  `--url [url]`
23
- : Relative URL of the list. Specify either id, title or url but not multiple.
23
+ : Relative URL of the list. Specify either `id`, `title`, or `url` but not multiple.
24
24
 
25
25
  `--newTitle [newTitle]`
26
- : New title for the list
26
+ : New title for the list.
27
27
 
28
28
  `--allowDeletion [allowDeletion]`
29
- : Boolean value specifying whether the list can be deleted. Valid values are `true,false`
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,false`
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,false`
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,false`
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,false`
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 on the list (GUID)
44
+ : Value that specifies the default workflow identifier for content approval on the 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
- : Value that specifies the URL of the edit form to use for list items in the list
50
+ : Value that specifies the URL of the edit form to use for list items in the list.
51
51
 
52
52
  `--description [description]`
53
- : The description for the list
53
+ : The description for the list.
54
54
 
55
55
  `--direction [direction]`
56
- : Value that specifies the reading order of the list. Valid values are NONE,LTR,RTL
56
+ : Value that specifies the reading order of the list. Valid values are `NONE`, `LTR`, `RTL`.
57
57
 
58
58
  `--disableGridEditing [disableGridEditing]`
59
- : Property for assigning or retrieving grid editing on the list. Valid values are `true,false`
59
+ : Property for assigning or retrieving grid editing on the list. Valid values are `true`, `false`.
60
60
 
61
61
  `--draftVersionVisibility [draftVersionVisibility]`
62
- : Value that specifies the minimum permission required to view minor versions and drafts within the list. Allowed values Reader,Author,Approver. Default Reader
62
+ : Value that specifies the minimum permission required to view minor versions and drafts within the list. Allowed values `Reader`, `Author`, `Approver`. Default `Reader`.
63
63
 
64
64
  `--emailAlias [emailAlias]`
65
65
  : 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.
66
66
 
67
67
  `--enableAssignToEmail [enableAssignToEmail]`
68
- : Boolean value specifying whether e-mail notification is enabled for the list. Valid values are `true,false`
68
+ : Boolean value specifying whether e-mail notification is enabled for the list. Valid values are `true`, `false`.
69
69
 
70
70
  `--enableAttachments [enableAttachments]`
71
- : Boolean value that specifies whether attachments can be added to items in the list. Valid values are `true,false`
71
+ : Boolean value that specifies whether attachments can be added to items in the list. Valid values are `true`, `false`.
72
72
 
73
73
  `--enableDeployWithDependentList [enableDeployWithDependentList]`
74
- : Boolean value that specifies whether the list can be deployed with a dependent list. Valid values are `true,false`
74
+ : Boolean value that specifies whether the list can be deployed with a dependent list. Valid values are `true`, `false`.
75
75
 
76
76
  `--enableFolderCreation [enableFolderCreation]`
77
- : Boolean value that specifies whether folders can be created for the list. Valid values are `true,false`
77
+ : Boolean value that specifies whether folders can be created for the list. Valid values are `true`, `false`.
78
78
 
79
79
  `--enableMinorVersions [enableMinorVersions]`
80
- : Boolean value that specifies whether minor versions are enabled when versioning is enabled for the document library. Valid values are `true,false`
80
+ : Boolean value that specifies whether minor versions are enabled when versioning is enabled for the document library. Valid values are `true`, `false`.
81
81
 
82
82
  `--enableModeration [enableModeration]`
83
- : Boolean value that specifies whether Content Approval is enabled for the list. Valid values are `true,false`
83
+ : Boolean value that specifies whether Content Approval is enabled for the list. Valid values are `true`, `false`.
84
84
 
85
85
  `--enablePeopleSelector [enablePeopleSelector]`
86
- : Enable user selector on event list. Valid values are `true,false`
86
+ : Enable user selector on event list. Valid values are `true`, `false`.
87
87
 
88
88
  `--enableResourceSelector [enableResourceSelector]`
89
- : Enables resource selector on an event list. Valid values are `true,false`
89
+ : Enables resource selector on an event list. Valid values are `true`, `false`.
90
90
 
91
91
  `--enableSchemaCaching [enableSchemaCaching]`
92
- : Boolean value specifying whether schema caching is enabled for the list. Valid values are `true,false`
92
+ : Boolean value specifying whether schema caching is enabled for the list. Valid values are `true`, `false`.
93
93
 
94
94
  `--enableSyndication [enableSyndication]`
95
- : Boolean value that specifies whether RSS syndication is enabled for the list. Valid values are `true,false`
95
+ : Boolean value that specifies whether RSS syndication is enabled for the list. Valid values are `true`, `false`.
96
96
 
97
97
  `--enableThrottling [enableThrottling]`
98
- : Indicates whether throttling for this list is enabled or not. Valid values are `true,false`
98
+ : Indicates whether throttling for this list is enabled or not. Valid values are `true`, `false`.
99
99
 
100
100
  `--enableVersioning [enableVersioning]`
101
- : Boolean value that specifies whether versioning is enabled for the document library. Valid values are `true,false`
101
+ : Boolean value that specifies whether versioning is enabled for the document library. Valid values are `true`, `false`.
102
102
 
103
103
  `--enforceDataValidation [enforceDataValidation]`
104
- : Value that indicates whether certain field properties are enforced when an item is added or updated. Valid values are `true,false`
104
+ : Value that indicates whether certain field properties are enforced when an item is added or updated. Valid values are `true`, `false`.
105
105
 
106
106
  `--excludeFromOfflineClient [excludeFromOfflineClient]`
107
- : Value that indicates whether the list should be downloaded to the client during offline synchronization. Valid values are `true,false`
107
+ : Value that indicates whether the list should be downloaded to the client during offline synchronization. Valid values are `true`, `false`.
108
108
 
109
109
  `--fetchPropertyBagForListView [fetchPropertyBagForListView]`
110
- : 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`
110
+ : 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`.
111
111
 
112
112
  `--followable [followable]`
113
- : Can a list be followed in an activity feed?. Valid values are `true,false`
113
+ : Can a list be followed in an activity feed?. Valid values are `true`, `false`.
114
114
 
115
115
  `--forceCheckout [forceCheckout]`
116
- : Boolean value that specifies whether forced checkout is enabled for the document library. Valid values are `true,false`
116
+ : Boolean value that specifies whether forced checkout is enabled for the document library. Valid values are `true`, `false`.
117
117
 
118
118
  `--forceDefaultContentType [forceDefaultContentType]`
119
- : Specifies whether we want to return the default Document root content type. Valid values are `true,false`
119
+ : Specifies whether we want to return the default Document root content type. Valid values are `true`, `false`.
120
120
 
121
121
  `--hidden [hidden]`
122
- : Boolean value that specifies whether the list is hidden. Valid values are `true,false`
122
+ : Boolean value that specifies whether the list is hidden. Valid values are `true`, `false`.
123
123
 
124
124
  `--includedInMyFilesScope [includedInMyFilesScope]`
125
- : 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
125
+ : 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.
126
126
 
127
127
  `--irmEnabled [irmEnabled]`
128
- : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list
128
+ : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) is enabled for the list.
129
129
 
130
130
  `--irmExpire [irmExpire]`
131
- : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) expiration is enabled for the list
131
+ : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) expiration is enabled for the list.
132
132
 
133
133
  `--irmReject [irmReject]`
134
- : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) rejection is enabled for the list
134
+ : Gets or sets a Boolean value that specifies whether Information Rights Management (IRM) rejection is enabled for the list.
135
135
 
136
136
  `--isApplicationList [isApplicationList]`
137
- : Indicates whether this list should be treated as a top level navigation object or not
137
+ : Indicates whether this list should be treated as a top level navigation object or not.
138
138
 
139
139
  `--listExperienceOptions [listExperienceOptions]`
140
- : Gets or sets the list experience for the list. Allowed values Auto,NewExperience,ClassicExperience. Default Auto
140
+ : Gets or sets the list experience for the list. Allowed values `Auto`, `NewExperience`, `ClassicExperience`. Default `Auto`.
141
141
 
142
142
  `--majorVersionLimit [majorVersionLimit]`
143
143
  : 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,52 +146,52 @@ m365 spo list set [options]
146
146
  : Gets or sets the maximum number of major versions that are allowed for an item in a document library that uses version control with both major and minor versions.
147
147
 
148
148
  `--multipleDataList [multipleDataList]`
149
- : Gets or sets a Boolean value that specifies whether the list in a Meeting Workspace sitecontains data for multiple meeting instances within the site
149
+ : Gets or sets a Boolean value that specifies whether the list in a Meeting Workspace sitecontains data for multiple meeting instances within the site.
150
150
 
151
151
  `--navigateForFormsPages [navigateForFormsPages]`
152
- : Indicates whether to navigate for forms pages or use a modal dialog
152
+ : Indicates whether to navigate for forms pages or use a modal dialog.
153
153
 
154
154
  `--needUpdateSiteClientTag [needUpdateSiteClientTag]`
155
155
  : 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.
156
156
 
157
157
  `--noCrawl [noCrawl]`
158
- : Gets or sets a Boolean value specifying whether crawling is enabled for the list
158
+ : Gets or sets a Boolean value specifying whether crawling is enabled for the list.
159
159
 
160
160
  `--onQuickLaunch [onQuickLaunch]`
161
- : Gets or sets a Boolean value that specifies whether the list appears on the Quick Launch area of the home page
161
+ : Gets or sets a Boolean value that specifies whether the list appears on the Quick Launch area of the home page.
162
162
 
163
163
  `--ordered [ordered]`
164
- : Gets or sets a Boolean value that specifies whether the option to allow users to reorder items in the list is available on the Edit View page for the list
164
+ : Gets or sets a Boolean value that specifies whether the option to allow users to reorder items in the list is available on the Edit View page for the list.
165
165
 
166
166
  `--parserDisabled [parserDisabled]`
167
- : Gets or sets a Boolean value that specifies whether the parser should be disabled
167
+ : Gets or sets a Boolean value that specifies whether the parser should be disabled.
168
168
 
169
169
  `--readOnlyUI [readOnlyUI]`
170
- : 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
170
+ : 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.
171
171
 
172
172
  `--readSecurity [readSecurity]`
173
- : 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)
173
+ : 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).
174
174
 
175
175
  `--requestAccessEnabled [requestAccessEnabled]`
176
- : Gets or sets a Boolean value that specifies whether the option to allow users to request access to the list is available
176
+ : Gets or sets a Boolean value that specifies whether the option to allow users to request access to the list is available.
177
177
 
178
178
  `--restrictUserUpdates [restrictUserUpdates]`
179
- : 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
179
+ : 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.
180
180
 
181
181
  `--sendToLocationName [sendToLocationName]`
182
182
  : Gets or sets a file name to use when copying an item in the list to another document library.
183
183
 
184
184
  `--sendToLocationUrl [sendToLocationUrl]`
185
- : Gets or sets a URL to use when copying an item in the list to another document library
185
+ : Gets or sets a URL to use when copying an item in the list to another document library.
186
186
 
187
187
  `--showUser [showUser]`
188
- : Gets or sets a Boolean value that specifies whether names of users are shown in the results of the survey
188
+ : Gets or sets a Boolean value that specifies whether names of users are shown in the results of the survey.
189
189
 
190
190
  `--templateFeatureId [templateFeatureId]`
191
- : The globally unique identifier (GUID) of a template feature that is associated with the list
191
+ : The globally unique identifier (GUID) of a template feature that is associated with the list.
192
192
 
193
193
  `--useFormsForDisplay [useFormsForDisplay]`
194
- : Indicates whether forms should be considered for display context or not
194
+ : Indicates whether forms should be considered for display context or not.
195
195
 
196
196
  `--validationFormula [validationFormula]`
197
197
  : Gets or sets a formula that is evaluated each time that a list item is added or updated.
@@ -200,34 +200,34 @@ m365 spo list set [options]
200
200
  : Gets or sets the message that is displayed when validation fails for a list item.
201
201
 
202
202
  `--writeSecurity [writeSecurity]`
203
- : 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)
203
+ : 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).
204
204
 
205
205
  `--schemaXml [schemaXml]`
206
- : (deprecated) The schema in Collaborative Application Markup Language (CAML) schemas that defines the list
206
+ : (deprecated) The schema in Collaborative Application Markup Language (CAML) schemas that defines the list.
207
207
 
208
208
  --8<-- "docs/cmd/_global.md"
209
209
 
210
210
  ## Examples
211
211
 
212
- Update the _contentTypesEnabled_ property of the list with id _3EA5A977-315E-4E25-8B0F-E4F949BF6B8F_ located in site _https://contoso.sharepoint.com/sites/project-x_
212
+ Update the _contentTypesEnabled_ property of the list with id located in a specific site.
213
213
 
214
214
  ```sh
215
215
  m365 spo list set --webUrl https://contoso.sharepoint.com/sites/project-x --id 3EA5A977-315E-4E25-8B0F-E4F949BF6B8F --contentTypesEnabled true
216
216
  ```
217
217
 
218
- Enable versioning and set the number of major versions to keep on the list with id _3EA5A977-315E-4E25-8B0F-E4F949BF6B8F_ located in site _https://contoso.sharepoint.com/sites/project-x_
218
+ Enable versioning and set the number of major versions to keep on the list with id located in a specific site.
219
219
 
220
220
  ```sh
221
221
  m365 spo list set --webUrl https://contoso.sharepoint.com/sites/project-x --id 3EA5A977-315E-4E25-8B0F-E4F949BF6B8F --enableVersioning true --majorVersionLimit 50
222
222
  ```
223
223
 
224
- Enable content types and versioning in the list with id _3EA5A977-315E-4E25-8B0F-E4F949BF6B8F_ located in site _https://contoso.sharepoint.com/sites/project-x_
224
+ Enable content types and versioning in the list with id located in a specific site.
225
225
 
226
226
  ```sh
227
227
  m365 spo list set --webUrl https://contoso.sharepoint.com/sites/project-x --id 3EA5A977-315E-4E25-8B0F-E4F949BF6B8F --contentTypesEnabled true --enableVersioning true --majorVersionLimit 50 --majorWithMinorVersionsLimit 100
228
228
  ```
229
229
 
230
- Update the Title of a list retrieved by it's original Title
230
+ Update the title of a list retrieved by it's original title.
231
231
 
232
232
  ```sh
233
233
  m365 spo list set --webUrl https://contoso.sharepoint.com/sites/project-x --title Documents --newTitle 'Different Title'
@@ -14,13 +14,13 @@ m365 spo list sitescript get [options]
14
14
  : URL of the site where the list to extract the site script from is located.
15
15
 
16
16
  `-l, --listId [listId]`
17
- : ID of the list to extract the site script from. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
17
+ : ID of the list to extract the site script from. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
18
18
 
19
19
  `-t, --listTitle [listTitle]`
20
- : Title of the list to extract the site script from. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
20
+ : Title of the list to extract the site script from. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
21
21
 
22
22
  `--listUrl [listUrl]`
23
- : Server- or site-relative URL of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
23
+ : Server- or site-relative URL of the list. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
24
24
 
25
25
  --8<-- "docs/cmd/_global.md"
26
26
 
@@ -121,3 +121,35 @@ m365 spo list sitescript get --listUrl 'Shared Documents' --webUrl https://conto
121
121
  ]
122
122
  }
123
123
  ```
124
+
125
+ === "Markdown"
126
+
127
+ ```md
128
+ {
129
+ "$schema": "https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json",
130
+ "actions": [
131
+ {
132
+ "verb": "createSPList",
133
+ "listName": "Test",
134
+ "templateType": 100,
135
+ "color": "0",
136
+ "icon": "3",
137
+ "subactions": [
138
+ {
139
+ "verb": "addSPView",
140
+ "name": "Alle items",
141
+ "viewFields": [
142
+ "ID"
143
+ ],
144
+ "query": "",
145
+ "rowLimit": 30,
146
+ "isPaged": true,
147
+ "makeDefault": true,
148
+ "formatterJSON": "",
149
+ "replaceViewFields": true
150
+ }
151
+ ]
152
+ }
153
+ ]
154
+ }
155
+ ```
@@ -14,13 +14,13 @@ m365 spo list view add [options]
14
14
  : URL of the site where the list is located.
15
15
 
16
16
  `--listId [listId]`
17
- : ID of the list to which the view should be added. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
17
+ : ID of the list to which the view should be added. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
18
18
 
19
19
  `--listTitle [listTitle]`
20
- : Title of the list to which the view should be added. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
20
+ : Title of the list to which the view should be added. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
21
21
 
22
22
  `--listUrl [listUrl]`
23
- : Relative URL of the list to which the view should be added. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
23
+ : Relative URL of the list to which the view should be added. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
24
24
 
25
25
  `--title <title>`
26
26
  : Title of the view to be created for the list.
@@ -54,7 +54,7 @@ We recommend using the `paged` option. When specified, the view supports display
54
54
  Add a view called _All events_ to a list with specific title.
55
55
 
56
56
  ```sh
57
- m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "My List" --title "All events" --fields "FieldName1,FieldName2,Created,Author,Modified,Editor" --paged
57
+ m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Test" --title "All events" --fields "FieldName1,FieldName2,Created,Author,Modified,Editor" --paged
58
58
  ```
59
59
 
60
60
  Add a view as default view with title _All events_ to a list with a specific URL.
@@ -72,7 +72,7 @@ m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x -
72
72
  Add a view called _All events_ with defined filter and sorting.
73
73
 
74
74
  ```sh
75
- m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "My List" --title "All events" --fields "FieldName1" --viewQuery "<OrderBy><FieldRef Name='Created' Ascending='FALSE' /></OrderBy><Where><Eq><FieldRef Name='TextFieldName' /><Value Type='Text'>Field value</Value></Eq></Where>" --paged
75
+ m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Test" --title "All events" --fields "FieldName1" --viewQuery "<OrderBy><FieldRef Name='Created' Ascending='FALSE' /></OrderBy><Where><Eq><FieldRef Name='TextFieldName' /><Value Type='Text'>Field value</Value></Eq></Where>" --paged
76
76
  ```
77
77
 
78
78
  ## Response
@@ -195,3 +195,64 @@ m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x -
195
195
  Aggregations,AggregationsStatus,AssociatedContentTypeId,BaseViewId,CalendarViewStyles,ColumnWidth,ContentTypeId,CustomFormatter,CustomOrder,DefaultView,DefaultViewForContentType,EditorModified,Formats,GridLayout,Hidden,HtmlSchemaXml,Id,ImageUrl,IncludeRootFolder,ViewJoins,JSLink,ListViewXml,Method,MobileDefaultView,MobileView,ModerationType,NewDocumentTemplates,OrderedView,Paged,PersonalView,ViewProjectedFields,ViewQuery,ReadOnlyView,RequiresClientIntegration,RowLimit,Scope,ServerRelativePath,ServerRelativeUrl,StyleId,TabularView,Threaded,Title,Toolbar,ToolbarTemplateName,ViewType,ViewData,ViewType2,VisualizationInfo
196
196
  ,,,,,,"{""StringValue"":""0x""}",,,,,,,,,"<View Type=""HTML"" Url=""/Lists/Test/All events2.aspx"" Personal=""FALSE"" DisplayName=""All events"" DefaultView=""FALSE"" Name=""{0F11C3F1-E174-4A85-93A9-B4AFB7BD41B6}""><ViewFields><FieldRef Name=""Title"" /></ViewFields><Query><OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where></Query><RowLimit Paged=""TRUE"">30</RowLimit></View>",0f11c3f1-e174-4a85-93a9-b4afb7bd41b6,,,,,"<View Type=""HTML"" Url=""/Lists/Test/All events2.aspx"" Personal=""FALSE"" DisplayName=""All events"" DefaultView=""FALSE"" Name=""{0F11C3F1-E174-4A85-93A9-B4AFB7BD41B6}"" ><Query><OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name=""Title"" /></ViewFields><RowLimit Paged=""TRUE"">30</RowLimit><Toolbar Type=""None""/></View>",,,,,,,1,,,"<OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where>",,,30,0,"{""DecodedUrl"":""/Lists/Test/All events2.aspx""}",/Lists/Test/All events2.aspx,,1,,All events,,,HTML,,,
197
197
  ```
198
+
199
+ === "Markdown"
200
+
201
+ ```md
202
+ # spo list view add --webUrl "https://contoso.sharepoint.com" --listTitle "Test" --title "All events" --fields "FieldName1" --viewQuery "<OrderBy><FieldRef Name='Created' Ascending='FALSE' /></OrderBy><Where><Eq><FieldRef Name='TextFieldName' /><Value Type='Text'>Field value</Value></Eq></Where>" --paged "true"
203
+
204
+ Date: 2/20/2023
205
+
206
+ ## All events (f3cade4a-d8c4-43b3-971c-9a4acc2510b8)
207
+
208
+ Property | Value
209
+ ---------|-------
210
+ Aggregations | null
211
+ AggregationsStatus | null
212
+ AssociatedContentTypeId | null
213
+ BaseViewId | null
214
+ CalendarViewStyles | null
215
+ ColumnWidth | null
216
+ ContentTypeId | {"StringValue":"0x"}
217
+ CustomFormatter | null
218
+ CustomOrder | null
219
+ DefaultView | false
220
+ DefaultViewForContentType | false
221
+ EditorModified | false
222
+ Formats | null
223
+ GridLayout | null
224
+ Hidden | false
225
+ HtmlSchemaXml | <View Type="HTML" Url="/Lists/Test/All events.aspx" Personal="FALSE" DisplayName="All events" DefaultView="FALSE" Name="{F3CADE4A-D8C4-43B3-971C-9A4ACC2510B8}"><ViewFields><FieldRef Name="FieldName1" /></ViewFields><Query><OrderBy><FieldRef Name="Created" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="TextFieldName" /><Value Type="Text">Field value</Value></Eq></Where></Query><RowLimit Paged="TRUE">30</RowLimit></View>
226
+ Id | f3cade4a-d8c4-43b3-971c-9a4acc2510b8
227
+ ImageUrl | null
228
+ IncludeRootFolder | false
229
+ ViewJoins | null
230
+ JSLink | null
231
+ ListViewXml | <View Type="HTML" Url="/Lists/Test/All events.aspx" Personal="FALSE" DisplayName="All events" DefaultView="FALSE" Name="{F3CADE4A-D8C4-43B3-971C-9A4ACC2510B8}" ><Query><OrderBy><FieldRef Name="Created" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="TextFieldName" /><Value Type="Text">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name="FieldName1" /></ViewFields><RowLimit Paged="TRUE">30</RowLimit><Toolbar Type="None"/></View>
232
+ Method | null
233
+ MobileDefaultView | false
234
+ MobileView | false
235
+ ModerationType | null
236
+ NewDocumentTemplates | null
237
+ OrderedView | false
238
+ Paged | true
239
+ PersonalView | false
240
+ ViewProjectedFields | null
241
+ ViewQuery | <OrderBy><FieldRef Name="Created" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="TextFieldName" /><Value Type="Text">Field value</Value></Eq></Where>
242
+ ReadOnlyView | false
243
+ RequiresClientIntegration | false
244
+ RowLimit | 30
245
+ Scope | 0
246
+ ServerRelativePath | {"DecodedUrl":"/Lists/Test/All events.aspx"}
247
+ ServerRelativeUrl | /Lists/Test/All events.aspx
248
+ StyleId | null
249
+ TabularView | true
250
+ Threaded | false
251
+ Title | All events
252
+ Toolbar | null
253
+ ToolbarTemplateName | null
254
+ ViewType | HTML
255
+ ViewData | null
256
+ ViewType2 | null
257
+ VisualizationInfo | null
258
+ ```
@@ -11,7 +11,7 @@ m365 spo list view field add [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --webUrl <webUrl>`
14
- : URL of the site where the list is located
14
+ : URL of the site where the list is located.
15
15
 
16
16
  `--listId [listId]`
17
17
  : ID of the list where the view is located. Specify either `listId`, `listTitle`, or `listUrl`.
@@ -23,43 +23,43 @@ m365 spo list view field add [options]
23
23
  : Server- or site-relative URL of the list. Specify either `listId` , `listTitle` or `listUrl`.
24
24
 
25
25
  `--viewId [viewId]`
26
- : ID of the view to update. Specify `viewTitle` or `viewId` but not both
26
+ : ID of the view to update. Specify `viewTitle` or `viewId` but not both.
27
27
 
28
28
  `--viewTitle [viewTitle]`
29
- : Title of the view to update. Specify `viewTitle` or `viewId` but not both
29
+ : Title of the view to update. Specify `viewTitle` or `viewId` but not both.
30
30
 
31
31
  `--id [id]`
32
- : ID of the field to add. Specify `id` or `title` but not both
32
+ : ID of the field to add. Specify `id` or `title` but not both.
33
33
 
34
34
  `--title [title]`
35
- : The **case-sensitive** internal name or display name of the field to add. Specify `id` or `title` but not both
35
+ : The **case-sensitive** internal name or display name of the field to add. Specify `id` or `title` but not both.
36
36
 
37
37
  `--position [position]`
38
- : The zero-based index of the position for the field
38
+ : The zero-based index of the position for the field.
39
39
 
40
40
  --8<-- "docs/cmd/_global.md"
41
41
 
42
42
  ## Examples
43
43
 
44
- Add field with ID _330f29c5-5c4c-465f-9f4b-7903020ae1ce_ to view with ID _3d760127-982c-405e-9c93-e1f76e1a1110_ of the list with ID _1f187321-f086-4d3d-8523-517e94cc9df9_ located in site _https://contoso.sharepoint.com/sites/project-x_
44
+ Add field with ID to view with ID of the list with ID located in a specific site.
45
45
 
46
46
  ```sh
47
47
  m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listId 1f187321-f086-4d3d-8523-517e94cc9df9 --viewId 3d760127-982c-405e-9c93-e1f76e1a1110 --id 330f29c5-5c4c-465f-9f4b-7903020ae1ce
48
48
  ```
49
49
 
50
- Add field with title _Custom field_ to view with title _All Documents_ of the list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
50
+ Add field with title to view with title of the list with title _Documents_ located in a specific site.
51
51
 
52
52
  ```sh
53
53
  m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents --viewTitle 'All Documents' --title 'Custom field'
54
54
  ```
55
55
 
56
- Add field with title _Custom field_ at the position _0_ to view with title _My Events_ of the list with url _/sites/project-x/lists/Events_ located in site _https://contoso.sharepoint.com/sites/project-x_
56
+ Add field with title at the position to view with title of the list with url located in a specific site.
57
57
 
58
58
  ```sh
59
59
  m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/lists/Events' --viewTitle 'My Events' --title 'Custom field' --fieldPosition 0
60
60
  ```
61
61
 
62
- Add field with title _Custom field_ to view with title _All Documents_ of the list with site-relative URL _/Shared Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
62
+ Add field with title to view with title of the list with site-relative URL located in a specific site.
63
63
 
64
64
  ```sh
65
65
  m365 spo list view field add --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Shared Documents' --viewTitle 'All Documents' --fieldTitle 'Custom field'
@@ -170,3 +170,64 @@ m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x -
170
170
  Aggregations,AggregationsStatus,AssociatedContentTypeId,BaseViewId,CalendarViewStyles,ColumnWidth,ContentTypeId,CustomFormatter,CustomOrder,DefaultView,DefaultViewForContentType,EditorModified,Formats,GridLayout,Hidden,HtmlSchemaXml,Id,ImageUrl,IncludeRootFolder,ViewJoins,JSLink,ListViewXml,Method,MobileDefaultView,MobileView,ModerationType,NewDocumentTemplates,OrderedView,Paged,PersonalView,ViewProjectedFields,ViewQuery,ReadOnlyView,RequiresClientIntegration,RowLimit,Scope,ServerRelativePath,ServerRelativeUrl,StyleId,TabularView,Threaded,Title,Toolbar,ToolbarTemplateName,ViewType,ViewData,ViewType2,VisualizationInfo
171
171
  ,,,1,,,"{""StringValue"":""0x""}",,,,,,,,,"<View Name=""{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}"" Type=""HTML"" DisplayName=""All events"" Url=""/Lists/Test/All events.aspx"" Level=""1"" BaseViewID=""1"" ContentTypeID=""0x"" ImageUrl=""/_layouts/15/images/generic.png?rev=47""><ViewFields><FieldRef Name=""Title"" /></ViewFields><Query><OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where></Query><RowLimit Paged=""TRUE"">30</RowLimit><XslLink Default=""TRUE"">main.xsl</XslLink><JSLink>clienttemplates.js</JSLink><Toolbar Type=""Standard"" /><ParameterBindings><ParameterBinding Name=""NoAnnouncements"" Location=""Resource(wss,noXinviewofY_LIST)"" /><ParameterBinding Name=""NoAnnouncementsHowTo"" Location=""Resource(wss,noXinviewofY_DEFAULT)"" /></ParameterBindings></View>",3cd2e934-f482-4d4a-a9b8-a13b49b3d226,/_layouts/15/images/generic.png?rev=47,,,clienttemplates.js,"<View Name=""{3CD2E934-F482-4D4A-A9B8-A13B49B3D226}"" Type=""HTML"" DisplayName=""All events"" Url=""/Lists/Test/All events.aspx"" Level=""1"" BaseViewID=""1"" ContentTypeID=""0x"" ImageUrl=""/_layouts/15/images/generic.png?rev=47"" ><Query><OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where></Query><ViewFields><FieldRef Name=""Title"" /></ViewFields><RowLimit Paged=""TRUE"">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default=""TRUE"">main.xsl</XslLink><Toolbar Type=""Standard""/></View>",,,,,,,1,,,"<OrderBy><FieldRef Name=""Created"" Ascending=""FALSE"" /></OrderBy><Where><Eq><FieldRef Name=""TextFieldName"" /><Value Type=""Text"">Field value</Value></Eq></Where>",,,30,0,"{""DecodedUrl"":""/Lists/Test/All events.aspx""}",/Lists/Test/All events.aspx,,1,,All events,,,HTML,,,
172
172
  ```
173
+
174
+ === "Markdown"
175
+
176
+ ```md
177
+ # spo list view get --webUrl "https://contoso.sharepoint.com" --listTitle "My List" --title "All Items"
178
+
179
+ Date: 2/20/2023
180
+
181
+ ## All Items (6275ed5c-8e4f-4e81-8060-2d9162b29952)
182
+
183
+ Property | Value
184
+ ---------|-------
185
+ Aggregations | null
186
+ AggregationsStatus | null
187
+ AssociatedContentTypeId | null
188
+ BaseViewId | 1
189
+ CalendarViewStyles | null
190
+ ColumnWidth | null
191
+ ContentTypeId | {"StringValue":"0x"}
192
+ CustomFormatter |
193
+ CustomOrder | null
194
+ DefaultView | true
195
+ DefaultViewForContentType | false
196
+ EditorModified | false
197
+ Formats | null
198
+ GridLayout | null
199
+ Hidden | false
200
+ HtmlSchemaXml | <View Name="{6275ED5C-8E4F-4E81-8060-2D9162B29952}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="/teams/AllStars/Lists/My List/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/\_layouts/15/images/generic.png?rev=47"><Query /><ViewFields><FieldRef Name="LinkTitle" /><FieldRef Name="FieldName1" /></ViewFields><Toolbar Type="Standard" /><CustomFormatter /><XslLink Default="TRUE">main.xsl</XslLink><JSLink>clienttemplates.js</JSLink><RowLimit Paged="TRUE">30</RowLimit><ParameterBindings><ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY\_LIST)" /><ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY\_DEFAULT)" /></ParameterBindings></View>
201
+ Id | 6275ed5c-8e4f-4e81-8060-2d9162b29952
202
+ ImageUrl | /\_layouts/15/images/generic.png?rev=47
203
+ IncludeRootFolder | false
204
+ ViewJoins | null
205
+ JSLink | clienttemplates.js
206
+ ListViewXml | <View Name="{6275ED5C-8E4F-4E81-8060-2D9162B29952}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="/teams/AllStars/Lists/My List/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/\_layouts/15/images/generic.png?rev=47" ><Query /><ViewFields><FieldRef Name="LinkTitle" /><FieldRef Name="FieldName1" /></ViewFields><RowLimit Paged="TRUE">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default="TRUE">main.xsl</XslLink><CustomFormatter /><Toolbar Type="Standard"/></View>
207
+ Method | null
208
+ MobileDefaultView | true
209
+ MobileView | true
210
+ ModerationType | null
211
+ NewDocumentTemplates | null
212
+ OrderedView | false
213
+ Paged | true
214
+ PersonalView | false
215
+ ViewProjectedFields | null
216
+ ViewQuery |
217
+ ReadOnlyView | false
218
+ RequiresClientIntegration | false
219
+ RowLimit | 30
220
+ Scope | 0
221
+ ServerRelativePath | {"DecodedUrl":"/teams/AllStars/Lists/My List/AllItems.aspx"}
222
+ ServerRelativeUrl | /teams/AllStars/Lists/My List/AllItems.aspx
223
+ StyleId | null
224
+ TabularView | true
225
+ Threaded | false
226
+ Title | All Items
227
+ Toolbar |
228
+ ToolbarTemplateName | null
229
+ ViewType | HTML
230
+ ViewData | null
231
+ ViewType2 | null
232
+ VisualizationInfo | null
233
+ ```