创建一个事件接收器,用于记录用户在列表中所做的更改 [英] create an eventreceiver for logging changes made by users in lists

查看:34
本文介绍了创建一个事件接收器,用于记录用户在列表中所做的更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 SharePoint 发布网站上工作,我想在 SharePoint 列表中记录"用户所做的所有更改.

I'm working on a SharePoint publishing site and I want to "log" all the changes made by users in a SharePoint list.

网络上的一些搜索将我引导至 EventReceiver.但是我的 EventReceiver 必须是通用的并且附加到网站集中的所有列表.日志列表"有几列,如发生事件的列表名称、修改项的名称、旧值和新值.

Some searches on the web guided me to the EventReceiver. But my EventReceiver must be generic and attached to all lists in the site collection. The "log list" has several columns like the name of the list in which the event occurred, the name of the modified item, its old value and its new value.

有人可以指导我如何实现这一目标吗?

Can someone guides me on how to achieve this?

推荐答案

StackOverflow 上已经为您提供了答案,万岁!

这篇关于创建一个事件接收器,用于记录用户在列表中所做的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆