@pnp/cli-microsoft365 10.3.0-beta.f5e6f85 → 10.3.0

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.
@@ -0,0 +1,112 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # spo list defaultvalue set
4
+
5
+ Sets default column values for a specific document library
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 spo list defaultvalue set [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-u, --webUrl <webUrl>`
17
+ : URL of the site where the list is located.
18
+
19
+ `-i, --listId [listId]`
20
+ : ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
21
+
22
+ `-t, --listTitle [listTitle]`
23
+ : Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
24
+
25
+ `--listUrl [listUrl]`
26
+ : Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
27
+
28
+ `--fieldName <fieldName>`
29
+ : Internal name of the field.
30
+
31
+ `--fieldValue <fieldValue>`
32
+ : Default value of the field.
33
+
34
+ `--folderUrl [folderUrl]`
35
+ : Set the value for a specific folder by specifying a server- or site-relative URL. By default, the root folder of the list is used.
36
+ ```
37
+
38
+ <Global />
39
+
40
+ # Remarks
41
+
42
+ :::note
43
+
44
+ Due to limitations in SharePoint Online, setting default column values for folders with a `#` or `%` character in their path is not supported.
45
+
46
+ :::
47
+
48
+ ## Examples
49
+
50
+ Set a default folder value on the root folder of a list for a text field
51
+
52
+ ```sh
53
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName Company --fieldValue Contoso
54
+ ```
55
+
56
+ Set a default folder value for a taxonomy field on a specific folder
57
+
58
+ ```sh
59
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --folderUrl "/sites/Marketing/Logos/Contoso" --fieldName Country --fieldValue "-1;#Belgium|442affc2-7fab-4f33-9590-330403a579c2"
60
+ ```
61
+
62
+ Set a default folder value for a multi-taxonomy field on a specific folder
63
+
64
+ ```sh
65
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/marketing/Logos --folderUrl "/sites/Marketing/Logos/Contoso" --fieldName Countries --fieldValue "-1;#Belgium|442affc2-7fab-4f33-9590-330403a579c2;#-1;#France|14888324-5c48-46db-b748-215cbe24eb4c"
66
+ ```
67
+
68
+ Set a default folder value for a date field to today
69
+
70
+ ```sh
71
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listId 3540460d-cb6e-4bc5-8380-bc1844401ee3 --fieldName Published --fieldValue "[today]"
72
+ ```
73
+
74
+ Set a default folder value for a date field
75
+
76
+ ```sh
77
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName Published --fieldValue "2020-05-03T11:00:00Z"
78
+ ```
79
+
80
+ Set a default folder value for a choice field
81
+
82
+ ```sh
83
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/marketing/Logos --fieldName FileType --fieldValue Logo
84
+ ```
85
+
86
+ Set a default folder value for a multi-choice field
87
+
88
+ ```sh
89
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName FileTypes --fieldValue "Logo;#Brand"
90
+ ```
91
+
92
+ Set a default folder value for a yes/no field using site-relative list URL
93
+
94
+ ```sh
95
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /Logos --fieldName Active --fieldValue 1
96
+ ```
97
+
98
+ Set a default folder value for a user field
99
+
100
+ ```sh
101
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listId 3540460d-cb6e-4bc5-8380-bc1844401ee3 --fieldName Responsible --fieldValue "1;#john.doe@contoso.com"
102
+ ```
103
+
104
+ Set a default folder value for a multi-user field
105
+
106
+ ```sh
107
+ m365 spo list defaultvalue set --webUrl https://contoso.sharepoint.com/sites/Marketing --listId 3540460d-cb6e-4bc5-8380-bc1844401ee3 --fieldName Responsible --fieldValue "1;#john.doe@contoso.com;#2;#adele.vance@contoso.com"
108
+ ```
109
+
110
+ ## Response
111
+
112
+ The command won't return a response on success.
@@ -0,0 +1,32 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # tenant report settings set
4
+
5
+ Update tenant-level settings for Microsoft 365 reports
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 tenant report settings set [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-d, --displayConcealedNames <displayConcealedNames>`
17
+ : Determines whether all reports conceal user information such as usernames, groups, and sites. If false, all reports show identifiable information.
18
+ ```
19
+
20
+ <Global />
21
+
22
+ ## Examples
23
+
24
+ Configure the tenant to display concealed user information in Microsoft 365 reports
25
+
26
+ ```sh
27
+ m365 tenant report settings set --displayConcealedNames true
28
+ ```
29
+
30
+ ## Response
31
+
32
+ The command won't return a response on success
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "10.3.0-beta.f5e6f85",
3
+ "version": "10.3.0",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -312,4 +312,4 @@
312
312
  "sinon": "^19.0.2",
313
313
  "source-map-support": "^0.5.21"
314
314
  }
315
- }
315
+ }