We have a SharePoint Document library which consist Folders. I want to attach Event Receiver for an specific Folder in library.

Means Event Receiver will only fire when any change happens in specific folder.


straight forward.. just create an event on ItemUpdate and first line will be to check if the item title is that of the folder then give your action code else no action. So event receiver will fire each time the item in the library modifies but will do the action only if the title matches that of your folder.

| improve this answer | |
  • Agree with you, but looking for an optimize way. Event receiver only fire when added/modification in specific Folder in Library. – Taha Zubair Nov 15 '17 at 9:52
  • That is not possible.. the event receiver provided by SharePoint is ItemUpdate and Item Added. There is nothing to have on a folder level. You can only have a check each time event receiver fire. – Ankit Kumar Nov 15 '17 at 10:08

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.