I've got an Calendar with a number of views and overlays. The default is set to a weekly view and I've been asked to provide a way to switch between a weekly and monthly view. Is there a way of doing this.
Switching between weekly and monthly view is available from the ribbon (Calendar tab, Scope section).
Please see the following screenshots (month and week view):
In order to change views (between month, day, week) without using the ribbon, i will suggest the following options:
The following functions are responsible for this:
A "no-code" solution:
Add the following endings to your initial URL in order to change views:
For example, the URL https://server/Lists/TestCal/calendar.aspx/?CalendarPeriod=day will switch the view to day an so on.