Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

ContentTypes Element (List)

Published: May 2010

Contains references to content types to associate with lists that are created through the list definition.


Minimum: 0

Maximum: 1

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"
      <ContentTypeRef ID="0x01010012841A8869DB425cB829C3875EC558CE01">
        <Folder TargetName="Forms/Document" />
      <ContentTypeRef ID="0x01010012841A8869DB425cB829C3875EC558CE02">
        <Folder TargetName="Forms/Document" />
      <ContentTypeRef ID="0x0120" />
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.