List Definition (Schema.xml) Files

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

A list template Feature includes a Schema.xml file that serves as the base file for a list definition. The List element is the root element of a Schema.xml file, which contains default view definitions, definitions for special fields used in the list, the toolbar definition for list views, content type declarations, and other metadata for the list.

A list definition includes a Feature.xml file, an element manifest file (see List Template Files), and a Schema.xml file within a Feature folder (%ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\FEATURES). For an example that shows how to create a custom list definition, see How to: Create a Custom List Definition.