Tag Info

Hot answers tagged

15

Immediate Alerts timer job "Sends out immediate and scheduled alerts." the documentation says. However, immediate is controlled by a timer job which runs every five minutes by default. So in your case - the possible series of actions is: Create folder Create alert Now these two actions happened within the same 5 minute period, and when the timer job ...


10

I have achieved this with my custom alerts using nothing but a feature and a feature reciever. NB: Upgrading your solution package using STSADM (or deploying directly from Visual Studio 2010) will automatically upgrade all your assemblies and provisioned files and recycle your app pool, so all you need to do is connect your custom alert tempates. Here's ...


8

There is a lot of very useful information from Microsoft but SharePoint Alerts are counter-intuitive on a lot of levels. The number one rule when dealing with them is to never assume that they follow a predictable pattern because they do not and will surprise you every time. They also love to work perfectly for 100 days straight, then for no discernible ...


6

It is not possible to add event handlers to the user info list. Please see this following thread: http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/81aae5ef-9621-48c5-ad52-706e5d6a0f05 That was me asking the question.


5

On the task list, go to List Settings --> Advanced settings. There is an "Email Notification" setting that defaults to yes. Changing it to no should work for you. To do it programatically from your event receiver: SPList.EnableAssignToEmail = false; http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.enableassigntoemail.aspx


5

The SPListEventReceiver.ListAdded was introduced in SharePoint 2010 and AFAIK it does not exist for SharePoint 2007. Maybe you can change your approach and register your event handler to a list type or a content type.


5

Setup Audit Logging in SharePoint 2010 to accomplish this. Visit this blog to see how this is accomplished. Check out the office site to see what all features are captured in Audit logging.


5

Why don't you use a SPAlertHandler to change how alerts work for this list? Then you can decide when an alert is sent or not in C# code. http://msdn.microsoft.com/en-us/library/bb897791(v=office.14).aspx public override bool OnNotification(SPAlertHandlerParams ahp) { try { using (SPSite site = new SPSite(ahp.siteUrl + ahp.webUrl)) ...


5

SharePoint 2010/2013 has a notification support SP.UI.Notify.addNotification(strHtml, bSticky);You can use them. More info here: http://msdn.microsoft.com/en-us/library/office/ff407632(v=office.14).aspx


4

This is built in to SharePoint 2010 http://www.sharepointkings.com/2010/08/send-sms-for-alert-in-sharepoint-2010.html In central administration, you need to provide the URL of SMS service, credentials. You can check the SMS service by hitting the test service button. It works over Office Mobile Service Protocol like mail uses SMTP. This OMS ...


4

You CAN setup Alerts based on a view in WSS3/MOSS2007 onwards See "Setting up Alerts on a View of a List" You won't see every view and only the Gods seem to know exactly why you can see some views and not others. 1) It must have a where clause. All Items views don't show up in the list of views, and it's pointless to use an All Items view ...


4

I don't think you will be able to do this OOTB so you're going to have to look at something like. A workflow when adding new items using SharePoint Designer. An event receiver on the list A commercial solution such as (blatant plug - the first one is from my own company) Pentalogic Reminder Bamboo Alert Plus


4

I assume this still works in SharePoint 2010: you should create a modified template file AlertTemplates_edited.xml in ...\14\TEMPLATE\XML (don't modify the original file - make a new version with a new name). You then need to use an stsadm command: stsadm -o updatealerttemplatefiles, and probably do an iisreset and bounce the timer service. Another way, ...


4

Please specify exactly what parameters have changed. Eg you changed to office 2010, but is outlook and SharePoint version the same? Also add a sceenshot showing the issue? I am still a bitnunclear on where SharePoint comes into the picture, other than being the trigger of the mail. This means your question is borderline off-topic. Depending on how you ...


4

Reading through the following two blog posts really helped answer how the email alert templates work (moreso the first): http://www.rightpoint.com/community/blogs/viewpoint/archive/2010/08/26/the-truth-about-how-daily-sharepoint-alerts-actually-work.aspx ...


4

After relentlessly experimenting until my eyes bled object model code, I have determined that (in this particular situation anyways) you cannot create a folder without triggering an event handler, whether you use SystemUpdate or a custom event receiver. I also learned that the most commonly referenced ways to use a custom event receiver to prevent alerts ...


4

You can filter folders from alerts, but it's a little tricky. Here's how I've managed to accomplish it. First, create a custom content type based on the Folder content type (I named it "Managed Folder" in this case). Add that to any lists you want to be affected and make sure it is visible in the "New" button. Remove folder creation from the list in its ...


4

I did something like this for a client. My solution was made a web service. By this web service I was able to make an AJAX call and create an Alert code behind.


3

When you create your OnNotification method you can access the list item with code similar to this. public bool OnNotification(SPAlertHandlerParams ahp) { SPSite site = new SPSite(ahp.siteUrl+ahp.webUrl); SPWeb web = site.OpenWeb(); SPList list=web.Lists[ahp.a.ListID]; SPListItem item = ...


3

Checked the timerlock table on the content database and it was running on the Inactive SharePoint Server. so, Stopped the Timer service temporarily on that server which moved the timerlock to the active Server. Steps to resolve the issue: Make sure you have SharePoint already configured for outgoing emails. Make sure that you have alerts for the document ...


3

The first thing to realize is that SharePoint has basically two methods of sending emails a) In response to an event on a page load/postback - such as The Alert Me confirmation message or Assigning a task (the one you are missing) Adding someone to a site. b) From the the SharePoint timer service which includes all the Alert Me type emails including ...


3

The HTML is invalid! You got multiple '</head>' and '<body>' tags.


3

Betty, try something like this (...it works for me): SPAlert alert = site.RootWeb.CurrentUser.Alerts.Add(); alert.Filter = "<Query><Eq><FieldRef Name=\"_Level\" /><Value Type=\"Integer\">1</Value></Eq></Query>"; alert.Title = "Test Publishing Alert"; alert.AlertType = ...


3

You can actually create a custom permission level that includes the Manage Alerts permission and then grant that to the individuals you want. Go into Site Actions > Site Permission and select Permission Levels from the Manage group on the ribbon. Click Add Permission Level and under Site Permissions select Manage Alerts and give the new Permission Level a ...


3

I'm assuming you have users setting up their own alerts, so you can't really handle this as the alerts are created, but you can change the behavior of existing alerts programatically. I would recommend iterating through SPWeb.Alerts, check each SPAlert object to see if it's scoped to your list (alert.AlertType == SPAlertType.List && alert.ListID == ...


3

Unfortunately, there is no way to remove this from the alert emails that SharePoint sends. You can edit the XML templates of the alert emails SharePoint sends, but SharePoint will always attach the alert-related email headers: x-alerttitle: Daily Summary Notification x-alertid: {90F3D082-E0F2-47DB-A12C-4DBEDB73DC08}:{00000000-0001-0001-0001-000000000000} ...


3

My guess is one or more Site Collections are in one of the following states: Adding Content Prevented Read-only No Access See http://technet.microsoft.com/en-us/library/cc263238%28office.12%29.aspx for instructions to unlock.


3

This seems to be an issue by design in SharePoint. When "Require documents to be checked out before they can be edited?" is set to Yes, alerts set to only send on New Items are not sent. They are only sent for Changed Items with alert set when documents are changed. When set to No, alerts are always sent on New Items. In SharePoint, if multiple changes are ...


3

What I do is create a view, filtered by the status of the workflow column (not equal In progress, not equal Completed). Then you can subscribe for alerts to this specific view. HTH


3

What are the alert settings for the list? Do users get notified if the item changes or deleted? I believe that expiration, once reached, will edit the properties of the item, and thus trigger an alert. If the expiration deletes the item and the alert is set to notify on deletion, then the alert would trigger also.



Only top voted, non community-wiki answers of a minimum length are eligible