Archive | CAML RSS feed for this section

Searching for In-Place Records using CAML

Just a quick note to all you records management junkies out there.  Here’s a question I’m seeing a lot of.  “Can I write a CAML query to locate all of the documents that have been declared as in-place records?”
The answer is yes.  It’s actually quite simple.  There is a new field called “Declared Record” that [...]

Read full story Comments { 3 }

CAML.NET Intellisense – Schema Update

One of the neat things about the latest version of CAML.NET Intellisense is that it automatically updates itself whenever a change is made to the published schema.   The updated schema file is downloaded and installed the next time Visual Studio is started, so there is nothing you have to do, and you don’t have to [...]

Read full story Comments { 0 }

CAML.NET Intellisense for SharePoint 2010

Well, I finally gone and done it!   The CAML.NET IntelliSense Extension for Visual Studio 2010 is finally out in the wild, so have at it you crazy SharePoint devheads!
For those of you already using the SharePoint 2007 version, you know the basic idea.  Extend the default CAML schema files with detailed annotations imported from the [...]

Read full story Comments { 10 }

Feed your CAML some IntelliSense so it doesn’t bite you in the you-know-what!

As every SharePoint developer knows, the CAML is an ornery beast. Get too close – it’ll spit at you, and as soon as you get knee-deep in the hot sands of SharePoint-land, it’s just a matter of time before it bites you in the ass!
But wait! There’s hope for all you erstwhile [...]

Read full story Comments { 19 }

CAML.NET Framework Documentation Now Online

The CAML.NET Framework documentation is now available online in the same format used for the MSDN docs at http://www.johnholliday.net/camldotnet/documentation.   This documentation set describes all of the CAML.NET static methods as well as the ICamlQuery and ICamlField interfaces along with the CamlQuery base class from which you can derive your own reusable query classes.

You can also [...]

Read full story Comments { 1 }

Generate CAML.NET Queries using T-SQL Syntax

Boy, news travels fast on the Internet!  Awhile back, my fellow SharePoint MVP Carlos Segura Sanz came up with a pretty nifty tool that lets you create CAML queries using T-SQL syntax.  It's called YACAMLQT for "Yet Another CAML Query Tool", and you can read all about it here. 

Basically, it lets you write a query [...]

Read full story Comments { 5 }

SharePoint Reflection – Working with Content Types

For the past several months, I've been experimenting with ways to use .NET reflection with the SharePoint API.  As I've mentioned before, I believe that .NET attributes can not only make it easier to build great SharePoint applications, but can also provide a foundation for building better development tools.
In this series of posts about [...]

Read full story Comments { 15 }

CAML.NET Framework Source Available on CodePlex

The true power of CAML.NET is the ability to create reusable queries that can be applied repeatedly to different scenarios, extended via simple inheritance and bound automatically to custom data types. 
Although the framework is being offered *FREE* to the SharePoint developer community, I initially thought it prudent to obfuscate the code so that the [...]

Read full story Comments { 0 }

Jacksonville Office Geeks: August 2007 Meeting – Building Reusable CAML Queries in C#

This session will introduce the CAML.NET.NET framework in detail, showing how you can use it to take full advantage of the CAML.NET query schema in your WSS and MOSS applications.

Presented by: John Holliday
Date: Thursday, August 23, 2007; 6-8 PM
Location: MODIS Building, Downtown Jacksonville; Conference Room A, 2nd FL
Meeting Location Map: http://floridaofficegeeks.org/JOG/Pages/Meeting%20Logistics.aspx
For [...]

Read full story Comments { 1 }