by adis.jugo | Aug 13, 2011 | Development
There is a need sometimes to combine a physical list view (on a SharePoint list) with a custom CAML query when retrieving the data in the SharePoint object model. Most of you probably know that there is an overload of the SPList.GetItems() method which takes a SPQuery...
by adis.jugo | Aug 9, 2011 | Development
Sometimes is Linq2SharePoint just not an option. Unfortunately. I don’t know how many times I have written methods which build nested CAML queries for multiple ORs or ANDs (when you have to OR more than two values). And of course I always forget where it was....
by adis.jugo | Mar 28, 2008 | Development
One of the nice features in SharePoint Object Model is querying lists and document libraries with CAML queries with GetItems method. One of the overloads of this method allows (a part of a) CAML query as parameter SPList.GetItem(SPQuery), meaning everything inside...
by adis.jugo | Dec 12, 2007 | Development
If you have ever tried to query a SharePoint List, over a LookupList value with CAML, you know that the "supposed" CAML way to do it is over the "Title" field of the LookupList values. For example, if we want to query the sharepoint list, which has...