Share via


Lists Element

The Lists element contains the collection of lists for a configuration.

Syntax

<Lists>
</Lists>

Element Relationships

Parent Elements Child Elements
Configuration List

Example

The following example shows the configuration for the Blank Site definition in ONET.XML.

<Configuration ID="1" Name="Blank">
   <Lists>
      <List Title="Site Template Catalog" Type="111"
         Url="_catalogs/wt" RootWebOnly="TRUE" />
      <List Title="Web Part Catalog" Type="113"
         Url="_catalogs/wp" RootWebOnly="TRUE" />
      <List Title="List Template Catalog" Type="114"
         Url="_catalogs/lt" RootWebOnly="TRUE" />
   </Lists>
   <Modules>
      <Module Name="DefaultBlank"/>
      <Module Name="WebPartPopulation"/>
   </Modules>
</Configuration>