Render Failed when ListVieWebPart is sorted more than 2 columns

Does anyone know if it is possible to have a sort of shares lsit more than 2 columns. I decided to change the view in the user interface. I am only allowed to enter two sorts. I tried to do it in source like this:

> <Query>
>           <GroupBy Collapse="TRUE" GroupLimit="100">
>             <FieldRef Name="Category" />
>             <FieldRef Name="SubCategory" />
>             <FieldRef Name="Topic" />
>           </GroupBy>
>           <OrderBy>
>             <FieldRef Name="Category" />
>             <FieldRef Name="SubCategory" />
>             <FieldRef Name="Topic" />
>           </OrderBy>
>         </Query> 

      

I am getting an error on the page:

<!-- #RENDER FAILED -->

      

+2


a source to share


1 answer


I only used the Qul Builder Quill Builder from U2U and the below query works fine with my 2010 server. I don't have a 2007 server to test it, so I can't guarantee that it will work for you. Get the tool though LOT will help!

http://www.u2u.be/Res/Tools/CamlQueryBuilder.aspx



UPDATE: New tool for SharePoint 2010 http://karinebosch.wordpress.com/2012/05/12/caml-designer/

<Query>
  <OrderBy>
    <FieldRef Name="ID" Ascending="True" />
    <FieldRef Name="_DCDateCreated" Ascending="False" />
    <FieldRef Name="_UIVersionString" Ascending="True" />
    <FieldRef Name='Created' Ascending='True' />
  </OrderBy>
</Query>

      

+2


a source







All Articles