0

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.

1 Answer 1

2

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.

2
  • Agree with you, but looking for an optimize way. Event receiver only fire when added/modification in specific Folder in Library. Commented Nov 15, 2017 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. Commented Nov 15, 2017 at 10:08

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.