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

前端 未结 3 432
长情又很酷
长情又很酷 2021-02-06 00:02

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

  • ItemAdded
  • ItemAdding
  • ItemFileMoved
  • ItemUpdating
相关标签:
3条回答
  • 2021-02-06 00:48

    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.

    0 讨论(0)
  • 2021-02-06 01:04

    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.

    0 讨论(0)
  • 2021-02-06 01:07

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

    0 讨论(0)
提交回复
热议问题