Friday, October 21, 2011

TemplateType Property

For custom list templates, you can use the string representation of the type number, such as "10001" or "98765432", or the name, such as "MyCustomListTemplate." The type number is the value of the Type attribute of the element in the Elements.xml file that you create for the custom list template. See How to: Create a Custom List Definition. The name is the value of the Name attribute of that same element.

When creating custom list templates, assign Type values above 10000 to ensure that your numbers do not conflict with new built-in template types that Microsoft may include with future versions of SharePoint Foundation.

SharePoint List Type ID Numbers

Complete list of SharePoint 2010 list type's ID numbers for reference.

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
121 : Solution Catalog
122 : No Code Public Workflow
123 : Theme Catalog
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
402 : Facility
403 : Whereabouts
404 : Call Track
405 : Circulation
420 : Timecard
421 : Holidays
499 : Input Method Editor Dictionary
600 : External List
1100 : Issue tracking
1200 : Administrator tasks list
1220 : Health Rules
1221 : Health Reports
2002 : Personal Document Library
2003 : Private Document Library
******************************************
Base Type ID
Custom List 0
Document Library 1
Not used 2
Obsolete. Use 0 for discussion boards. 3
Surveys 4
Issues List 5
Click here
Reference: http://msdn.microsoft.com/en-us/library/ms431081.aspx

No comments:

Blog Archive