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.
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.
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.
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.
精彩评论