Alerts?

Topics: Developer Forum
May 18, 2006 at 9:09 PM
I don't know if this is possible, but would it be an outrageous request to ask for an "Alert Me" button which would create a sharepoint alert for the user?
Coordinator
May 18, 2006 at 9:16 PM
It's on the list of things (see Feature List in the Wiki) for a future change. Now that this is on CodePlex I may just turn to use Work Items as tracking is better.

Of course the problem with alerts is the max number on a site. If everyone subscribed to many threads, the server would quickly fill up with alerts and the SharePoint admin would have to decide if they wanted to increase the max or not (which is taxing on the system the way alerts are checked).
May 18, 2006 at 9:23 PM
How about a forum alert instead of allowing users to subscribe to individual threads? The downside is that it would get around security settings by giving them info on forums that they don't have access to. It would be easier though, as you could just use the internal alert systems (for portal or wss) on the list containing the posts (assuming that posts are all in one list).
Coordinator
May 18, 2006 at 9:27 PM
It's give and take and I need to look at it. All posts for all forums are in a single list, so any alert trigger needs to be initiated by the forum, not SharePoint (and thus can filter if the user doesn't have access, etc.) but like I said, I need to look at it and see what the impact is depending on where (and who) the alert is initiated. It was planned and I wanted to do it (using the Alerts from SharePoint so I don't have to write my own) but not sure how it will work out in the end.
May 24, 2006 at 5:23 PM
An alert function of some sort would really be helpful. We currently have a couple dozen discussion forums (using the OOB Sharepoint Discussions). These forums are organized by products and services offered by our company, so a given user may have an interest in five or six of the forums.

In order to avoid checking multiple forums each day, users utilize the alert feature of Sharepoint to get a daily email summary of activity on the forum(s) that apply to them. Based on this email, they know which forums to visit each day.

Would a daily email summary of activity on a forum be a feasible option?
Coordinator
May 24, 2006 at 5:55 PM
Right now, there's no facility to run a scheduled job in 2003 other than creating a separate app, creating a scheduled task, or installing a service. None of these are really desirable.

The idea of leveraging the SharePoint technology is to use what's there like the alert system (which is really a series of scheduled tasks itself). Of course again the problem is having those alert counts maxxed out by a single Web Part which isn't great either.

Ahh, we'll figure out something that works. The nice thing is that there's a timer service in the 2007 version which you can just use for this purpose.
May 24, 2006 at 6:05 PM
Maybe having a "Last 10 posts", or even "Today's Messages" type of thing could act as a workaround? It lacks the email part, but still allows someone to quickly see what is going on. Now, whether that should work on a global level or on a category level is another matter...
Coordinator
May 24, 2006 at 6:17 PM
There are a couple of work items logged that are "Todays Posts" and "Posts since last visit" type views that I'm adding.
Aug 21, 2006 at 10:54 PM
I checked the work items and did not see either of these items listed. Have they been completed and are they available in one of the current releases? Thanks!!
Aug 21, 2006 at 11:01 PM
Today's posts is in the current (1.2) version.
Aug 23, 2006 at 12:34 AM
Thanks John. We haven't loaded that version yet, but hope to next week. I will look for that feature.
Nov 1, 2006 at 12:55 PM
I've managed to create an alert system for the forum.
Solution:

You should set the alerts for the user on the spforumsposts list. When a new post is added or edited an alert message is sent with the link http://server name/sites/site name/Lists/spsforumsposts/DispForm.aspx?ID=<postid>.

On the DispForm.aspx i've added a WebPart that redirects to the topic page. The WebPart obtains the topic ID from the spforums_posts list and generates a link to the forum location (hardcoded location).

Have fun
Coordinator
Nov 4, 2006 at 3:14 AM
Nice workaround until I get my butt in gear and do something. I really do like seeing this kind of ingenuity with SharePoint so keep it coming!
Aug 18, 2008 at 11:08 PM
Just to flesh out the steps on mariannegru's solution.  To set up the alerts in SharePoint 2007 you would:

1) Go to http://servername/sitepath/Lists/spforums_posts/AllItems.aspx
2) Under Actions, click on Alert Me
3) From there, it is pretty straight forward with setting up what users, what you want to alert on and how frequently.

And like mariannegru mentioned, you'll want to customize the http://servername/sitepath/Lists/spforums_posts/DispForm.aspx to redirect to your page with the control, passing along that TopicID.  (Once I get mine fine-tuned, I'll post my full steps).