SharePoint 2010:博客文章警报
在为单个博客文章创建提醒时,我假设每次对该帖子留下评论时您都会收到一封通知电子邮件。 事实并非如此。
警报只会通知您对帖子列表中的实际项目所做的任何更改(例如,如果您更改“标题”或“正文”字段中的文本)。
有谁知道一种好方法来创建警报以在帖子上留下评论时通知用户?理想情况下,我希望在 stackoverflow 上复制这里的行为,当有人向您的帖子添加评论或答案时,您可以收到提醒。
When creating an alert to a single blog post, I would have assumed that you would receive a notification email each time a comment was left on that post. This is not the case.
The alert will only notify you of any changes that are made to the actual item in the Posts list (e.g. if you alter the text in the Title or Body fields).
Does anyone know a nice way to go about creating an alert to notify the user whenever a comment has been left on the post? Ideally, I'm looking to replicate the behaviour here on stackoverflow where you can be alerted when anyone adds comments or answers to your post.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Raymund 列出的解决方案适用于个人博客。
不过,我们每个博客都需要它,因此我编写了一个 事件接收器并使用功能装订以将其附加到博客网站模板。这样,每当有人发表评论时,我都会查找该评论是针对哪个帖子进行的,查找该帖子的创建者,并向他们发送一封电子邮件。
The solution that Raymund listed works for individual blogs.
We needed it for each and every blog though, so I wrote an Event Receiver and used Feature Stapling to attach it to the blog site template. This way, everytime someone posts a comment I look up which posting the comment was made against, lookup the creator of that post, and send them an email.
博客评论将被视为 Sharepoint
如果您在将项目添加到该列表时创建工作流程,则 中的列表向您发送有关创建和/或更改的电子邮件,然后您的要求得到满足。您将需要 Sharepoint Designer。如果您需要帮助,请告诉我,如果您愿意,我会向您展示分步程序。
Blog Comments are treated as lists in Sharepoint
if you create a workflow when an item is added to that list to email you on create and/or change then your requirement is satisfied. You will need Sharepoint Designer on this one. Let me know if you need assistance I will show you step by step procedures if you want.
您可以使用 SharePoint 中内置的 OOB 警报功能。只需在评论列表上设置提醒即可。您也可以使用事件接收器和功能装订来完成此操作。
You could use the OOB alert functionality built into SharePoint. Just setup an alert on the comments list. You can do this with an Event Receiver and Feature Stapling as well.