5

how can I add an event receiver to the style library ? (can't find any templateid)

3

2 Answers 2

2

On Elements.xml, use ListUrl instead of ListTemplateId

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.