Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains references to content types to associate with lists that are created through the list definition.
<ContentTypes>
</ContentTypes>
The following sections describe attributes, child elements, and parent elements.
None
The following example shows a partial definition for a list that uses three content types.
<List xmlns:ows="Microsoft SharePoint" Title="Financial Documents"
Direction="$Resources:Direction;" Url="Financial Documents"
BaseType="1"
EnableContentTypes="TRUE">
<MetaData>
<ContentTypes>
<ContentTypeRef ID="0x01010012841A8869DB425cB829C3875EC558CE01">
<Folder TargetName="Forms/Document" />
</ContentTypeRef>
<ContentTypeRef ID="0x01010012841A8869DB425cB829C3875EC558CE02">
<Folder TargetName="Forms/Document" />
</ContentTypeRef>
<ContentTypeRef ID="0x0120" />
</ContentTypes>
...
</MetaData>
</List>
Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn more