10

这是交易,我在文档库中注册了各种事件接收器:

  • 添加项目
  • 项目添加
  • 项目文件已移动
  • 物品更新

这些事件接收器在所有情况下都按预期工作,除了复制和粘贴到资源管理器视图中。值得注意的是,当从资源管理器视图移动到资源管理器视图时,事件接收器会触发!

有没有其他人经历过这个?有没有办法来解决这个问题?

4

3 回答 3

2

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.

于 2009-11-18T21:56:08.983 回答
1

您遇到的问题是 SharePoint 最烦人的功能之一,由于某种原因,它不仅忽略了我们的元数据要求,还忽略了您在使用资源管理器视图或 unc 路径时尝试捕获的事件。我相信唯一的解决方法是创建一个 WWF 工作流。

于 2009-10-25T18:27:13.450 回答
0

如果您正在考虑保留拖放功能并丢失资源管理器视图,您可能想看看这个..

于 2009-10-20T11:31:00.983 回答