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!

Advertisements
Post a comment or leave a trackback: Trackback URL.

Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: