27 OktReference to ListTemplate ID’s MOSS

Lately I’m building different kind of features, which can be very easy and interesting, but more on that later on. When I tried to bind some of those features to different kind of lists I came across the subject of ListTemplate ID’s.

ListTemplate ID’s
Every ListTemplate is associated with a different kind of ID, a value which can be used within a feature. For instance, a announcements list template is associated with the value 104. This can be very useful if you want to bind your feature to just document libraries.

	
		
			DeletingEventHandler
			ItemDeleting
			10000
			DeletingEventHandler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f5cce5f062aa189d
			DeletingEventHandler.DeletingAction
			
			
		
	

The example above shows how to use a event receiver in your elements.xml file of a feature. In this case my event handler feature registers receiver for the ItemDeleting event of a Announcements list template. It uses my custom code described in the DeletingAction class (.cs).

Reference ListTemplate ID’s.
It can be useful to know the different kind of ListTemplate ID’s when you create features. When googling I came across some reference posts on ListTemplate ID’s. I decided to put them together into one table and added two Listtemplate ID’s I discovered myself. I found 1300 Translation Management library & 1301 Languages & Translations. For all the others ID’s the credits go to MSDN library, Mike Smith & Alex from Phase 2.

# TemplateName TemplateDescription
-1 InvalidType  
100 Generic List  
101 Document Library  
102 Survey  
103 Links  
104 Announcements  
105 Contacts  
106 Calendar  
107 Tasks  
108 Discussion Board  
109 Picture Library  
110 Data Sources  
111 Web Template Catalog  
112 User Information  
113 Web Part Catalog  
114 List Template Catalog  
115 Form Library  
116 Master Page Catalog  
117 No Code Workflows  
118 Workflow Process  
119 Wikipage Library  
120 Custom List in dataview  
130 Data Connection library  
140 Workflow history  
150 Project tasks  
200 Meetings  
201 Agenda  
202 Meeting User  
204 Decision  
207 Meeting Objective  
210 Textbox  
211 Things to bring  
212 Home Page library  
301 Posts  
302 Comments  
303 Categories  
432 KPI list  
433 Report library  
850 Pages  
1100 Issue tracking  
1200 Admin Tasks  
1300 Translation Management library  
1301 Languages & Translations  
2002 Personal Document library  
2003 Private Document library  
2100 Slide library  


If there are any errors in the table above or you have new ID’s please let me know.