I have a view I have modified I SharePoint designer but I can't get it to
sort by content type. But if I enable the grouping on contentType, it works.
I don't want grouping.
Here is the CAML - can you see anything wrong with it? The only reference I
had found on the net suggested to sort it client side.
<View Name="{1514C435-3E76-4CF1-910A-638CFEFA9D12}" DefaultView="TRUE"
MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All
Documents" Url="/CD /Forms/AllItems.aspx" Level="1" BaseViewID="1"
ContentTypeID="0x" ImageUrl="/_layouts/images/dlicon.png">
<Query>
<OrderBy>
<FieldRef
Name="ContentType" Ascending="TRUE"/>
<FieldRef
Name="FileLeafRef" Ascending="TRUE"/>
</OrderBy>
<GroupBy>
</GroupBy>
</Query>
<ViewFields>
<FieldRef Name="DocIcon"/>
<FieldRef
Name="ContentType"/>
<FieldRef
Name="MRC_x0020_Document_x0020_ID"/>
<FieldRef
Name="LinkFilename"/>
<FieldRef Name="Title"/>
<FieldRef Name="Modified"/>
<FieldRef Name="Editor"/>
<FieldRef
Name="MRC_x0020_Document_x0020_Visibility"/>
<FieldRef
Name="MRC_x0020_Expiry"/>
<FieldRef Name="Keywords"/>
<FieldRef
Name="Review_x0020_Date"/>
<FieldRef
Name="Risk_x0020_Assessment"/>
<FieldRef
Name="_UIVersionString"/>
</ViewFields>
<RowLimit Paged="TRUE">30</RowLimit>
<Aggregations Value="Off"/>
<Toolbar Type="Standard"/>
</View>
_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss