SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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.