Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

WebService query does not filter Items. SP2010

$
0
0

I am having trouble querying a SharePoint list using the GetAllItems webs service.

Whenever I make the call all of the items in the list are returned.

I have used u2u and CAMLQueryHelper with great success but once I add the query to my solution it returns all items in the list.

Any help would be great. I cant seem to find anyone with the same problem.

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><ns0:GetListItems xmlns:ns0="http://schemas.microsoft.com/sharepoint/soap/" xmlns:ns1="http://microsoft.com/wsdl/types/"><ns0:listName>Orders</ns0:listName><ns0:viewName/><query><Query><Where><Or><Eq><FieldRef Name="FAC_OrderNumber"/><Value Type="Text">12095-1</Value></Eq><Eq><FieldRef Name="FAC_Related_Order"/><Value Type="Text">12095-1</Value></Eq></Or></Where></Query></query><viewFields><ViewFields/></viewFields><ns0:rowLimit/><queryOptions><QueryOptions><IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns></QueryOptions></queryOptions><ns0:webID/></ns0:GetListItems></s:Body></s:Envelope>



Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>