【发布时间】:2009-02-27 07:37:49
【问题描述】:
谁能帮我解决这个 CAML 查询?当我将Ascending 属性从TRUE 翻转到FALSE(也尝试过True 和False)时,它不会重新排序结果集。
CAML 的其余部分是正确的,它是由工具生成的,并且正在返回适当的结果。
<Where>
<And>
<And>
<Eq>
<FieldRef Name="Branch"/>
<Value Type="Text">Camp 1</Value>
</Eq>
<Eq>
<FieldRef Name="Type"/>
<Value Type="Choice">Day</Value>
</Eq>
</And>
<Geq>
<FieldRef Name="StartDateTime"/>
<Value Type="DateTime">2009-01-05T00:00:00Z</Value>
</Geq>
</And>
<OrderBy>
<FieldRef Ascending="TRUE" Name="Title" />
</OrderBy>
</Where>
【问题讨论】:
标签: sharepoint caml