- Oct 30, 2000
- 14,665
- 440
- 126
For some reason my query isn't being applied. Not sure why. Tried many different ones and they all come back the same.
I was trying to get my list to return a single item from it. Actually I tried many different queries and they all are ignored. I get every thing back. All 688 rows and I only want select rows of data. Not sure what the hell is going on because I'm not receiving any errors when I look in Fiddler2.
I also tried using queryOptions and changing views. Doesn't matter. I always get back everything.
Code:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
<listName>MyList</listName>
<Query>
<Where>
<Eq>
<FieldRef Name='ID'/>
<Value Type='Counter'>826</Value>
</Eq>
</Where>
</Query>
<rowLimit>10000</rowLimit>
</GetListItems>
</soap:Body>
</soap:Envelope>
I was trying to get my list to return a single item from it. Actually I tried many different queries and they all are ignored. I get every thing back. All 688 rows and I only want select rows of data. Not sure what the hell is going on because I'm not receiving any errors when I look in Fiddler2.
I also tried using queryOptions and changing views. Doesn't matter. I always get back everything.
