Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to look out for a way to make the defaultScope of calendar view to "Week". We can do it using the SharePoint UI.

Any idea if I have any property of SPView or SPCalendarView that can be used to make the Weekly View as default scope for List view.

Problem: - I have a calendar that displays events from multiple calendar (using calendar overlays). - My home page contains a list view web part of the calendar list.

By default the list view displays monthly view of the calendar. I would like it to display the Weekly view of the overlayed calendar.

I was thinking if I can make the defaultScope as weekly for the default view of the calendar list, Till now i am not able to find any answer.

Help Help Help... :)

Regards, Sudhir

share|improve this question
    
Finally I got the answer. It was not that complicated as I expected. The calendar rendering is dependent on only one query string parameter "CalendarPeriod". So if i just append "?CalendarPeriod=week" in to my url the calendar rendering will update itself to display the weekly calendar. It was so stupid :) Thanks ashish for directing me to Calendar View Default Scope... moved my answer as commend as per request from Brian –  Sudhir Kesharwani Jan 17 at 16:39
add comment

5 Answers

http://www.eggheadcafe.com/software/aspnet/30706916/how-to-change-calendar-view-default-scope-.aspx

share|improve this answer
    
See my answer below –  Sudhir Kesharwani Feb 3 '11 at 18:29
    
Glad to know that you resolved it. –  Anonymous Feb 4 '11 at 5:09
add comment
up vote 1 down vote accepted

Finally I got the answer. It was not that complicated as I expected.

The calendar rendering is dependent on only one query string parameter "CalendarPeriod".

So if i just append "?CalendarPeriod=week" in to my url the calendar rendering will update itself to display the weekly calendar.

It was so stupid :)

Thanks ashish for directing me to Calendar View Default Scope

share|improve this answer
    
thank you very much for posting the resolution. Can you move it to a comment on your original question so people see it when they first view the question? –  Brian Brinley Feb 3 '11 at 18:42
add comment

The only other way to change the default scope of calendar view other than UI is to send RPC call to owssvr.dll. For complete solution, visit this link -

http://www.manvir.net/change-the-default-scope-of-sharepoint-calendar-view-to-week/

share|improve this answer
    
While this may theoretically answer the question, we prefer inclusion of the essential parts of the answer here, and to provide the link for reference. See answer for general guidelines. Also we require disclosure of any affiliation with products or websites. Please see May I promote products or websites I am affiliated with here? for guidelines. –  SPDoctor Apr 25 '13 at 8:23
add comment

Just go to "Calendar Tools"/"Modify View" and set the default scope to Week!

there is no need to program or use external software.

regards, Jörg

share|improve this answer
add comment

If you are using the CalendarPlus webpart, click Modify Web Part Settings. On the General Settings tab, change Default view Period from Month to Week. Note: Day is also an option.

If you wish to simply change the calendar itself to view the week, then go to the calendar. From the ribbon, select Calendar Tools --> Calendar. Select *List Settings. Scroll down to Views. Click on the view you wish to edit. Change Default Scope to Week.

share|improve this answer
    
Hi Thanks for your answer, I was able to figure out the right answer to this, I have posted the same in this thread. –  Sudhir Kesharwani Apr 24 '13 at 21:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.