-
Website
http://SharePointMagazine.net/ -
Original page
http://sharepointmagazine.net/?p=506 -
Subscribe
All Comments -
Community
-
Top Commenters
-
djenkinsenergy
4 comments · 1 points
-
yeschandana
3 comments · 1 points
-
Sriram
2 comments · 1 points
-
ggalipeau
32 comments · 1 points
-
Grammy Leung
2 comments · 1 points
-
-
Popular Threads
I would like to point out a great tool by John Holliday called CAML.net which helps write the CAML code for you and prevents quite a lot of typo errors. It is available on CodePlex at http://codeplex.com/camldotnet/
.b
Thank you for this posting. I've been doing a fair amount of CAML lately and have used this page as a starting point for alot of my work.
Thanks
Karine
After successfully retrieving the records using the GetListItems method, how can I use the result so I can insert it in a SQL table?
Thanks in advance
Very interesting and informative overview.
Thanks a lot for the wonderful post. I read the full post and just got every thing which I was looking for.
I use the U2U caml builder gor queries and I use the shpt web services to retrieve data.
I am facing a problem. When I want to get the data from a particular view of the list, I pass the view name of the getlistitems method and it returns me the rows belonging to that view only.
However, when I try getting the data from a view based on a query, the query returns the data from the all items view rather than from that particular view only, and as a result I get extra rows, what should i do to prevent this?
Thanks a lot
Akshaya
(Status = ‘Published’ AND Published Date=’10/10/2008’) AND (title contains ‘xyz’ OR descrition contains ’abcd’ OR submitter conains ‘aaa’)
I'm curious - has the method for expanding recurring calendar events over webservices been tested?
I have been able to get it working "server-side", as described in the iCal article; however - no combination of options seems to work for expanding recurring events using the web services interface.
I'm usintgSPSIteDataQuery accross multiple SubSite and use the SPWeb.GetSiteData(myCamlQuery)
thanks in advance!
This is the only place that I found this useful information about getting Calendar data throug lists.asmx webservice. But I got a problem and not sure why it behave this way. Basically, I was able to get calendar data from this month with all recurrence events. But when I click Next month, I put this code like you suggest in QueryOptions to set CalendarDate to the next month but it doesn't seem to effect anything. It's always return me the all events for the current month and upto the same day next month (e.i: if I query from today 4/21/2009, I'll get everything from April upto May 21) I can't seem to get further. Please help...
Thanks
XmlNode queryOptionsNode = camlDocument.CreateElement("QueryOptions");queryOptionsNode.InnerXml = "<ExpandRecurrences>TRUE</ExpandRecurrences>" + "<CalendarDate>2009-05-21T01:00:00Z</CalendarDate>";
This is one of the best posts that I've read on CAML. It's straightforward yet thorough. Unlike other articles that I've read about CAML, this one covers all scenarios.
Thank you very much!
Thanks in advance
Any suggestions
Is it possible to write a CAML query within a CAML query.Please help me out.Thank you.
ndViewFields.InnerXml = "<FieldRef Name='Last Name'/><FieldRef Name='Author'/><FieldRef Name='Department'/><FieldRef Name='Crew'/>"
works fine to return Author, Department, and Crew, but the Last Name field doesn't get returned. Any tips you can provide would be much appreciated.
I'm using the "Retrieving List Items with CAML using the SharePoint Web Services" method.
Thanks,
Robert
that must becoz the internal field name of of the column "last Name"would different from what you see.Please get the internal field name by this code "list.Fields["Manager"].InternalName.ToString();" and then put the name tht u get in the CAML query.
Hey guys i have column called "Managers" in my list in which i have to more than 1 value like this "vinod:sc" which means vinod and sc are the 2 managers.Is it possible in my CAML query to get the 2 values separately ???
Is it possible to write an IF function in a CAML query or is it possible to use a valure returned from a function???
I'm not able to retrieve a column from a sharepoint list that has some empty values.I'm getting this error "Object referrence not set to instance of an object".Can anyone please help me out.
I am trying to get listitems using the same method. I have a order no field in the list and some other fields are Customers which is a lookup and date which is a calculated column and Agency which is a text.
I am querying by order no.
I can retrieve Agency as it is a simple text, but I can't seem to get Customer name and Date as one is a lookup and one is a date. It is my necessity that I query by order number only and for each order number, get the rest of the data for each listitem.
Can you share your ideas please?
Try this too,
SharePoint Lists and more
Good work..