SharePoint list event receivers not firing when co

2019-03-15 16:41发布

Here's the deal, I have various event receivers registered to a document library:

  • ItemAdded
  • ItemAdding
  • ItemFileMoved
  • ItemUpdating

These event receivers work as expected in all cases, APART FROM copying and pasting into explorer view. It's worth noting that the event receivers do fire off when MOVING from explorer view into explorer view!

Has anyone else experienced this? Is there a way to fix this?

3条回答
欢心
2楼-- · 2019-03-15 16:54

If you are thinking of keeping the drag and drop functionality, and losing the Explorer view, you might want to look at this..

查看更多
该账号已被封号
3楼-- · 2019-03-15 17:06

Workaround:

  • Create a SharePoint Designer Workflow, attach it to your Doc Library.
  • Make it run when the item is changed or updated
  • Give it a simple step with the following Action (no conditions)
  • Update field in the Current Item
  • Select the "Title" field, set it to "Changed".

You are probably able to capture the events from your .NET logic now.

查看更多
霸刀☆藐视天下
4楼-- · 2019-03-15 17:08

The problem you are encountering is one of the most annoying features of SharePoint, for some reason it not only overlooks our metadata requirements but also the events you are trying to capture when using the explorer view or unc path. I beleive the only workaround for this is to create a WWF workflow.

查看更多
登录 后发表回答