List Types & List Internal ID available within MOSS 2007

Ref: http://vspug.com/bobbyhabib/2007/09/26/list-types-amp-list-internal-values-available-in-moss-2007/ 

 

The following lists the default lists types and their internal sharepoint ID available in MOSS 2007. This references list can prove to be handy when creating your own Site Definitions, List Definitions and for Event Handlers:

Value                               Description

100                                  Generic List

101                                  Document Library

102                                  Survey

103                                  Links List

104                                  Announcement List

105                                  ContactsList

106                                  Events List

107                                  Tasks List

108                                  Discussion Board

109                                  Picture Library

110                                  Data Sources

111                                  Site Template Gallery

113                                  Web Part Gallery

114                                  List Template Gallery

115                                  XML Form Library

120                                  Custom Grid for a List

200                                  Meeting Series List

201                                  Meeting Agenda List

202                                  Meeting Attendees List

204                                  Meeting Decisions List

207                                  Meeting Objectives List

210                                  Meeting Text Box

211                                  Meeting things To Bring List

212                                  Meeting Workspace Pages List

300                                  Portal Sites List

1100                                Issues Tracking

2002                                Personal Document Library

2003                                Private Document Library

One of the interesting points in the above list is the lack of numbering. You may have noted that 112 is not in the above list for example. But if you go to any Site Setting page within a MOSS site and in the Site Actions option click People & Group which takes you to a page that displays users and groups. Right hand click this page and view HTML source on this page. Schroll down to the bottom of the page and what you will notice is a hidden object in the HTML referencing the ListTemplate ID that displays the value of 112. INTERESTING! Wink

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

From MSDN (http://msdn.microsoft.com/en-us/library/ms462947.aspx)

 

Optional Integer. Provides a unique identifier for the template. This identifier must be unique within the feature, but need not be unique across all feature definitions or site definitions. The following table lists values for the default list template types.

  • 100   Generic list

  • 101   Document library

  • 102   Survey

  • 103   Links list

  • 104   Announcements list

  • 105   Contacts list

  • 106   Events list

  • 107   Tasks list

  • 108   Discussion board

  • 109   Picture library

  • 110   Data sources

  • 111   Site template gallery

  • 112   User Information list

  • 113   Web Part gallery

  • 114   List template gallery

  • 115   XML Form library

  • 116   Master pages gallery

  • 117   No-Code Workflows

  • 118   Custom Workflow Process

  • 119   Wiki Page library

  • 120   Custom grid for a list

  • 130   Data Connection library

  • 140   Workflow History

  • 150   Gantt Tasks list

  • 200   Meeting Series list

  • 201   Meeting Agenda list

  • 202   Meeting Attendees list

  • 204   Meeting Decisions list

  • 207   Meeting Objectives list

  • 210   Meeting text box

  • 211   Meeting Things To Bring list

  • 212   Meeting Workspace Pages list

  • 301   Blog Posts list

  • 302   Blog Comments list

  • 303   Blog Categories list

  • 1100   Issue tracking

  • 1200   Administrator tasks list

This attribute corresponds to the Type attribute of the List element. 

 

 

posted @ 2010-01-19 11:43  Vincent Yang  阅读(348)  评论(0编辑  收藏  举报