How do I change the ListTemplateID of an existing SharePoint list?

I have several lists in a sitecollection that are currently using ListTemplateID 101 (DocumentLibary). I want to bind an event handler to these lists, but if I attach an event to list 101, all document libraries in the sitecollection will receive this event handler.

I don't want to programmatically attach an event handler to these lists.

I would like to know how do you change the ListTemplateID for an existing list?

Thanks,
Keith

+1


source to share


3 answers


If the lists have already been created, unfortunately you are stuck with programmatically attaching an event handler or using a dedicated tool to bind them manually.



After the lists are created, the ListTemplateID is stored in the database and there is no supported way to change it.

+1


source


I doubt you can do this. This will certainly be more work than just attaching event handlers to existing lists.



0


source


If you only want attache event handlers for specific lists and don't want to do this programmatically, you can use SharePoint Server 2007 - Custom Site Administration Applications by Brian Wilson .

It adds a new menu item to the website settings. There you can select the site, list, or content type to which you want to connect the event handler, and also define which event the handler should fire.

Hope this helps you solve your problem.

0


source







All Articles