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'm a newer in sharepoint 2010 .I want to create calendar view for my list definition using list definition. I think i need to do something in schema.xml file, but i can't find any document talk about this. What can i do now ? please help me .

share|improve this question
add comment

1 Answer 1

You should try something like

<View BaseViewID="2" DisplayName="Team Calendar" Type="CALENDAR" WebPartZoneID="Main" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/15/images/events.png" Url="calendar.aspx" RecurrenceRowset="TRUE" DefaultView="TRUE" ShowHeaderUI="TRUE" MobileUrl="_layouts/15/mobile/viewdaily.aspx"/>

More on the view definition http://msdn.microsoft.com/en-us/library/ms430995.aspx

share|improve this answer
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.