Building CAML queries dynamically can become a gnarly problem, especially when the definition of the query contains some non determinate elements, i.e. you know the combinatorial form of the expression(s) but the expression(s) conditions are 0..n. Building an expression such as this becomes a tricky programming problem, given the way in which <And>, <Or> elements are [...]
Read more
Tag Archives: CAML
CAML Related OM Reference Cheat Sheet
Abstract Spaces has a good post here which lays out many types and enumerations which are regularly used within CAML.
Read moreSharePoint: Content Query Web Part Customizing the Query
Recently I’ve been customizing Content Query Web Parts (CQWP) whereby I override the query and supply my own CAML query. The basic steps involved in doing this are; Author the Web Part using the UI Export the Web Part using the UI Customize the Web Part .webpart file Import the customized Web Part back into [...]
Read moreNew U2U CAML Query Builder Feature
U2U have launched a new version of the CAML Query Builder tool which you can now install as a feature in SharePoint. Here’s a screen shot…
Read more

January 31, 2012

