You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: Internal name of the field that contains the start date of the calendar event. Required when `type` is set to `calendar`.
44
+
45
+
`--calendarEndDateField [calendarEndDateField]`
46
+
: Internal name of the field that contains the end date of the calendar event. Required when `type` is set to `calendar`.
47
+
48
+
`--calendarTitleField [calendarTitleField]`
49
+
: Internal name of the field that contains the title of the calendar event. Required when `type` is set to `calendar`.
50
+
51
+
`--calendarSubTitleField [calendarSubTitleField]`
52
+
: Internal name of the field that contains the subtitle of the calendar event.
53
+
54
+
`--calendarDefaultLayout [calendarDefaultLayout]`
55
+
: Default layout of the calendar view. Possible values are: `month`, `week`, `workWeek`, `day`. Defaults to `month`.
56
+
57
+
`--kanbanBucketField [kanbanBucketField]`
58
+
: Internal name of the field that contains the bucket for the Kanban board view. Required when `type` is set to `kanban`.
59
+
39
60
`--personal`
40
61
: View will be created as personal view, if specified.
41
62
@@ -53,32 +74,54 @@ m365 spo list view add [options]
53
74
54
75
## Remarks
55
76
77
+
:::tip
78
+
56
79
We recommend using the `paged` option. When specified, the view supports displaying more items page by page (default behavior). When not specified, the `rowLimit` is absolute, and there is no link to see more items.
57
80
81
+
:::
82
+
58
83
## Examples
59
84
60
-
Add a view called _All events_ to a list with specific title.
85
+
Add a list view called to a list with specific title.
86
+
87
+
```sh
88
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listTitle "Customers" --title "All customers" --fields "LinkTitle,Country,Sector,Country,Address,Contact" --paged
89
+
```
90
+
91
+
Add a gallery view as default view to a list with a specific URL.
92
+
93
+
```sh
94
+
m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/Sales --listUrl "/Lists/Customers" --title "All customers" --type gallery --fields "LinkTitle,Country,Sector,Country,Address,Contact" --paged --default
0 commit comments