SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Item Updating event receiver that needs to fire when a document library folder is renamed. Everything works perfect when a user renames the folder with the SharePoint UI.

However, if they rename the folder with Windows Explorer, the event receiver doesn't fire.

Interestingly, if they create a new folder w/ Windows Explorer it fires Item Added -> Item Updating -> Item Updated (using "New Folder" all through the chain). But it doesn't fire again once they replace "New Folder" with the folder's real name.

share|improve this question

I was struggling with the exact same issue. I was just going to give it up, when I thought I'd give two other event receivers a try: ItemFileMoving and ItemFileMoved. And it worked!

There is a logic to it I think, renaming and moving operations are somewhat alike.

You can see it best when you're creating a new folder from Explorer/WebDAV. Immediately it fires

ItemAdding -> ItemAdded -> ItemUpdating -> ItemUpdated (possibly another ItemUpdating -> ItemUpdated due to RequireCheckOut or so)

Note that the name is still "New folder" at this time. Then you can input the new folder's name and ItemFileMoving and ItemFileMoved are fired.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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