SharePoint list event receivers not firing when copying and pasting using explorer view

◇◆丶佛笑我妖孽 提交于 2019-12-03 12:25:50

问题


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?


回答1:


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.




回答2:


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.




回答3:


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



来源:https://stackoverflow.com/questions/1486448/sharepoint-list-event-receivers-not-firing-when-copying-and-pasting-using-explor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!