Export (0) Print
Expand All

Introduction to Collaborative Application Markup Language (CAML)

Last modified: January 31, 2011

Applies to: SharePoint Foundation 2010

In this article
Site Customization with CAML
Rendering with CAML
Programming with CAML

Collaborative Application Markup Language (CAML) is an XML-based language that is used in Microsoft SharePoint Foundation to define the fields and views that are used in sites and lists.

Note Note

CAML is case-sensitive.

CAML can be used in various ways to customize a SharePoint site, including the following:

  • In script or code that implements members of the SharePoint Foundation object model, where CAML strings are passed through method parameters, assigned to properties, or returned by methods and properties

  • In SOAP messaging that passes CAML strings to a SharePoint Foundation Web service to interact remotely with a deployment

  • In front-end site definitions used to instantiate SharePoint sites

  • In SharePoint Foundation Features to add specific functionality within a particular scope

CAML is used for two types of rendering in SharePoint Foundation: to define the type of data that is contained within a field, and to construct HTML that is displayed in the browser. For information on the two major uses of CAML, see Data-Defining Elements and HTML-Rendering Elements.

Show:
© 2014 Microsoft