I've got a custom site definition with a list definition + list instance in it. In the schema.xml for the list, I tried adding multiple views for the list. The problem I have is that although the custom views are being deployed, some properties seem to be ignored for some reason.
For example; I have defined some other ViewFields to be shown in one of the non-default views. But after deployment, that custom view shows exactly the same columns as the default view has. Same goes for the Query, that isn't deployed as well.
Here's my view def:
<View Name="{5BB1D385-0E92-42D0-8348-8E81F90D2688}" MobileView="TRUE" Type="HTML"
DisplayName="Verzonden orders" Url="VerzondenOrders.aspx"
BaseViewID="1" ImageUrl="/_layouts/images/generic.png"
SetupPath="pages\viewpage.aspx">
<ViewFields>
<FieldRef Name="Attachments" />
<FieldRef Name="Ordernummer" />
<FieldRef Name="Commissie" />
<FieldRef Name="Datum_x0020_besteld" />
<FieldRef Name="Datum_x0020_verzonden" />
<FieldRef Name="Order_x0020_status" />
</ViewFields>
<Query>
<OrderBy>
<FieldRef Name="Ordernummer" />
</OrderBy>
<Where>
<Eq>
<FieldRef Name="Order_x0020_status" />
<Value Type="Text">Verzonden</Value>
</Eq>
</Where>
</Query>
<RowLimit Paged="TRUE">30</RowLimit>
<XslLink Default="TRUE">main.xsl</XslLink>
<Toolbar Type="Standard" />
</View>
Who can help me out?