How to order in a highlighted content using CAML?

Occasional Contributor



I am struggling to sort the order of the pages library on a site.

I am using CAML query.

Here is my query :

<FieldRef Name="ClientPage"></FieldRef>
<Value Type="Integer">1</Value>
<OrderBy Override="TRUE" UseIndexForOrderBy="FALSE">
<FieldRef Name="Name" Ascending= "TRUE" />


Everytime I add a page in appears not in ascending order. It appears at the end of the results.

Where am I going wrong ?


Thanking you in advance.




0 Replies