how can I add an event receiver to the style library ? (can't find any templateid)
-
2It has the same id as document library - 101– Nitin RastogiCommented Dec 13, 2011 at 13:18
-
how to differentiate them for the event receiver ??– user1014732Commented Dec 13, 2011 at 13:18
-
3See this for more details. Since you only want to attach to Styles Library, you will have to attach using code - social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/…– Nitin RastogiCommented Dec 13, 2011 at 13:21
Add a comment
|
2 Answers
A style library uses the document library template (101), so that is the ID you use to create an event receiver.
The following link provides a detailed list of template ID's for registration: http://techtrainingnotes.blogspot.com/2008/01/sharepoint-registrationid-list-template.html