/ Published in: XML
I also included how to provision a Calendar list web part in Calendar View
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<View List="Lists/listPath" BaseViewID="0" RecurrenceRowset="TRUE" WebPartZoneID="Center" WebPartOrder="2"> <![CDATA[ <webParts> <webPart xmlns="http://schemas.microsoft.com/WebPart/v3"> <metaData> <type name="Microsoft.SharePoint.WebPartPages.XsltListViewWebPart,Microsoft.SharePoint,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" /> <importErrorMessage>Cannot import this Web Part.</importErrorMessage> </metaData> <data> <properties> <property name="Title">List Title</property> <property name="AllowConnect" type="bool">True</property> <property name="AllowClose" type="bool">False</property> </properties> </data> </webPart> </webParts> ]]> </View> <!-- Calendar needs the TYPE property for Calendar View --> <View List="Lists/Calendar" BaseViewID="2" Type="CALENDAR" Scope="Recursive" RecurrenceRowset="TRUE" WebPartZoneID="Center" WebPartOrder="3"> </View>