I'm adding a webpart programitcally through the elements xml document as follows:
<Module Name="DefaultHomePage" Url="Pages" Path="Pages">
<File Path="Home.aspx" Url="Home.aspx" IgnoreIfAlreadyExists="True" >
<View List="Lists/Personnel Holiday Entitlement" BaseViewID="4" WebPartZoneID="RightHandSide" WebPartOrder="1">
<![CDATA[
<webParts>
<webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
<metaData>
<type name="Microsoft.SharePoint.WebPartPages.XsltListViewWebPart, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
<importErrorMessage>Cannot import this Web Part</importErrorMessage>
</metaData>
<data>
<properties>
<property name="Title" type="string">Your Holiday Balance</property>
<property name="DisableViewSelectorMenu" type="bool">True</property>
<property name="InplaceSearchEnabled" type="bool">False</property>
<property name="ShowToolbarWithRibbon" type="bool">False</property>
<property name="AllowEdit" type="bool">False</property>
</properties>
</data>
</webPart>
</webParts>
]]>
</View>
</File>
</Module>
However I'm trying to do a couple of things to how the web part looks i.e remove the check boxes for the title and each rows, tried use allowedit="false" AND TabularView="FALSE" on this but makes no difference. I've tried this on both the elements.xml and in the view schema xml but neither work...do i need to set this somewhere else?
TIA
S