Skip to content

Latest commit

 

History

History
107 lines (97 loc) · 6.13 KB

list-schema.md

File metadata and controls

107 lines (97 loc) · 6.13 KB
title description ms.date ms.audience ms.topic ms.localizationpriority api_name api_type ms.assetid
List schema
Outlines the list schema of Collaborative Application Markup Language (CAML), which is used to define the metadata for creating lists.
06/10/2022
Developer
reference
medium
List schema
schema
4a595fed-9588-4845-a92d-ba16a38ad93e

List schema

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

The list schema of Collaborative Application Markup Language (CAML) is used to define the metadata for creating lists. The list schema includes field definitions (Field element), view definitions, and a toolbar definition, in addition to specifying content types, forms, and a default description for lists that are created. The definition for a list is contained in a Schema.xml file that is located in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\FEATURES or is included in sandboxed solutions.

You can create or modify lists programmatically through the object model (for example, members of the SPList class and the SPListCollection class), through the Lists web service (methods of the Lists class), and through the Remote Procedure Call (RPC) protocol (see Windows SharePoint Services RPC Methods).

List schema elements

Note

The following subelements lay out the structure of a view, but Microsoft SharePoint Foundation 2010 uses XSLT to define rendering of view contents. For information about the XSLT that is used, see List Views. For the schema that Windows SharePoint Services 3.0 used to render the view contents, see View schema.

See also