I can create a calendar view in code, however I have as yet been unable to figure out how to change the "Default Scope" (this is the name that appears in the user interface when editing a calendar view). The options in the user interface are Day, Week, or Month - Month being the default. I'd like to be able to change the default to something else, Week for example, but I cannot figure out how to do it, other than using the user interface.
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
You can't do it through API. By sending RPC call to owssvr.dll is the only other way other than UI. For complete solution, visit this link - http://www.manvir.net/change-the-default-scope-of-sharepoint-calendar-view-to-week/ |
|||
|
|
Try this link |
|||||
|
|
Try;
|
|||
|