I want to create a calendar view in a calendar list using CSOM power shell for SharePoint online.
I am able to create a view using PowerShell but the calendar columns are not set. I want to set the below values using CSOM:
<ViewData>
<FieldRef Name="Title" Type="CalendarMonthTitle" />
<FieldRef Name="Title" Type="CalendarWeekTitle" />
<FieldRef Name="Location" Type="CalendarWeekLocation" />
<FieldRef Name="Title" Type="CalendarDayTitle" />
<FieldRef Name="Location" Type="CalendarDayLocation" />
</ViewData>
View.Viewdata
property is used in server side to set the above values, I need it in client side.