3
我正在使用jQuery和WSS 3.0 SOAP服務從列表中檢索和顯示數據。我想通過CreatedBy列過濾數據。這裏是我的CAML查詢:SharePoint - 在GetListItems上進行用戶查詢SOAP調用
<Query>
<Where>
<And>
<Leq>
<FieldRef Name="Created" />
<Value Type="DateTime" IncludeTimeValue="FALSE">2011-1-8</Value>
</Leq>
<Geq>
<FieldRef Name="Created" />
<Value Type="DateTime" IncludeTimeValue="FALSE">2011-1-2</Value>
</Geq>
<Contains>
<FieldRef Name="CreatedBy" LookupId="TRUE" />
<Value Type="User">Smith</Value>
</Contains>
</And>
</Where>
當我執行這個時,SharePoint返回以下錯誤:
0x80004005的 - 無法完成此動作。請再試一次。
刪除用戶查找可解析頒發者。我哪裏錯了?
謝謝,我會給它一個鏡頭! – dxprog 2011-01-09 02:08:18