Monthly Archives: May 2012

Available Value Types for CAML Queries

I must be stupid, but I couldn’t google my way onto a list of available Value Types to be used in SharePoint CAML Queries.

<Value Type=’????‘>SomeValue</Value>

I’m assuming that the list of available field types is the same as for Field elements.
But experience is showing me that they don’t all work.

I’ve successfully wrote CAML against SharePoint using the following Value Types:

  • Text
  • Number
  • DateTime
  • Guid
  • MultiChoice
  • Lookup

I have not had success with:

  • Integer

If you’ve had success with other field types, let me know!