5

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

migrated from stackoverflow.com Dec 17 '11 at 16:37

This question came from our site for professional and enthusiast programmers.

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, privacy policy and cookie policy

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