Tag Archives: CAML
ft-caml

SharePoint: Dynamically Building Complex CAML Queries

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
ft-caml

Provisioning a SharePoint 2010 List Instance Causes Exception in a Site Scoped Feature

Provisioning a list using the ListInstance element causes an exception, if the element is included in a Site scoped feature and the RootWebOnly attribute is set to TRUE. Setting RootWebOnly to FALSE, or removing the attribute, works as expected. If the ListInstance element, as shown above, is included in a Web scoped feature, it works [...]

Read more

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 more

SharePoint: 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 more

New 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
Follow

Get every new post delivered to your Inbox.

Join 143 other followers