3
votes
2answers
346 views

CAML query for sharepoint list not working

I have a CAML query where I am getting records between a date range for a sharepoint 2010 list through an asmx web method call. It looks like this ...
1
vote
2answers
277 views

CAML In clause - Value does not fall within the expected range

I get a 'Value does not fall within the expected range' error from the following CAML. <Query> <Where> <In> <FieldRef Name="ID"/> <Values> ...
1
vote
1answer
462 views

Help converting XmlNode to DataSet/DataTable, from SharePoint Web Services, Lists.asmx

This is my first post here, but used this site a lot :) My question is how I can convert an XmlNode, obtained through the Lists.asmx SharePoint web service, to a DataSet / DataTable. The reason I ...
1
vote
0answers
107 views

getting top X items in each folder with a CAML Query

i'm trying to do a visual representation of a document library using javascript and webservices. basically i want to present the folders in the library, with a preview of the first few files in each ...
0
votes
1answer
151 views

Getting Information About Deleted Item from GetListItemChangesSinceToken

When calling GetListItemChangesSinceToken, and processing deletions, the data returned looks like this; <Changes ...
2
votes
1answer
244 views

Should we use web service lists.asmx over CAML when working with large lists

There is a list that has around 100k items in a SharePoint Site Collection. This site has been customized to serve certain business requirements through visual webparts. While, regular CRUD ...
1
vote
2answers
546 views

Lists.GetListItems Query for items with a specific author

I am trying to query a list in SharePoint 2007 to get the items of the list that were created by a specified user. Here is my CAML: <Query> <Where> <Eq> ...
0
votes
3answers
817 views

What is the difference between CamlQuery and SPQuery

Maybe a simple question, when to use CamlQuery and when to use SPQuery ? I think that SPQuery is used inside a WebPart running on the SharePoint server, and that CamlQuery is part of the Client ...
3
votes
2answers
5k views

Filtering items in a view using a CAML query

I'm having trouble querying SharePoint in such a way, as to combine a view results with my own CAML query inside a WCF service. It seems GetItems ignores my query, and just returns all the items in ...
1
vote
1answer
181 views

Is it possible to find out what template was used to create a site using the SOAP service?

I am connecting to a SharePoint 2010 server(which I don't control) using the SOAP service (.asmx) I need a list of sites which were created using a certain template. Is it possible to create a CAML ...
0
votes
1answer
2k views

How to get Highest ID using CAML and JQuery

I am using a web service and am trying to return the highest ID number from the Posts list with viewname {B9212691-1AF1-41AF-9DA7-6073ADDB091B}. So far I have the following. <script ...
0
votes
1answer
2k views

CAML get list by view name

I'm making an Ajax call to the Lists web service to retrieve some items. I'd like to return results only from a specific view. Can I do that through CAML? I have this so far - which the attribute ...
2
votes
2answers
3k views

What does the GetListItems query option IncludeMandatoryColumns do?

I found myself working with the Lists.GetListItems method fairly often. Unfortunately, I have never understood what the IncludeMandatoryColumns query option actually does. The documentation seems to ...
2
votes
3answers
2k views

Problem using viewFields to return more fields

Do I have to put a prefix of ows before retrieving fields? because I am trying to obtain additional fields and not being able to? soapEnv += "<listName>My SP List</listName>"; ...
0
votes
1answer
497 views

PreSaveAction and CAMLQuery

I'm cross posting this from Stump the Panel for some more visibility from a wider developer base. I'm trying to create a script I'll eventually adapt into a PreSaveAction, but I'm running into a ...
1
vote
2answers
3k views

Caml Query for Order By List for web service call not ordering

I'm calling web service List.asmx using Jquery and getting results using this but its not ordering by DisplayOrder. This is the caml query. <soapenv:Envelope ...
0
votes
1answer
165 views

CAML to search column name

I'm looking to search within each list for a column. The problem is that this column is referred to differently in CAML. Look at this for a detailed explanation: ...
1
vote
2answers
734 views

How to update a list item from web service using a where clause?

I have a scenario where I need to update a list item, but I don't know the internal ID of the list item - hence the following won't work for me: batchElement.InnerXml = "<Method ID='1' ...
0
votes
1answer
817 views

How come GetListItems filtering on a field's equality to a value fetches this field's value as undefined/null

I think I found a bug. Please share if you know more about it. I use GetListItems operation to fetch items to display on an ajaxified form. Just an hour ago everything was fine, but now when I query ...