Tag Info

Hot answers tagged

13

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 ...


8

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 ...


5

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

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.


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

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

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)) ...


3

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


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

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 ...


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

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.


3

You could use a workflow to email a distribution group, and the only setup required is to add those peoples external email addresses as contacts in your mail system. After that you only have to add or remove people from the distribution group and then they will or wont receive the alert. The only downside to this is that you have to set up the workflow, ...


3

I would suggest the use of native policies (like in our case the expiration policy) that you can attach to a specific content type and trigger an action / workflow when the policy is met. In this case it will be when an item's age is reached. (eg : http://technet.microsoft.com/en-us/library/cc262112%28v=office.12%29.aspx) What I've been doing for a customer ...


3

According to the Microsoft Documentation, there is no .Delete() method on the SPAlertsCollection that takes no parameters. It appears that the method requires you to iterate through the alerts and then delete each one by passing the alert unique ID to the .Delete(GUID) method


3

I ran into some issues with setting alerts on users. Try setting the alert in the web.alerts collection instead of the user.alerts collection. You may also want to set the Alert Template programmatically, but I am not sure that is required here. public void CreateUserListAlert(SPUser user, SPList list) { list.ParentWeb.AllowUnsafeUpdates = true; ...


3

Purpose Send e-mail when ownership is assigned option corresponds to EnableAssignToEmail property in List and according to MSDN: this value specify whether e-mail notification is enabled for the list Alerts are sent to recipient specified in Assigned To field There is no dependency to Due Date field Alert types When Send e-mail when ownership is ...


3

There is no built in way via the SharePoint JavaScript Object Model according to my research. Likely you will have to build your JavaScript to work with the SharePoint 2010 Alerts Web Service: http://msdn.microsoft.com/en-us/library/websvcalerts(v=office.14).aspx using JQuery or whatever framework calls from JavaScript on your page.


2

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


2

Were any other changes made outside of SharePoint? I know Exchange has an option to set distribution groups to only be available for use by "authenticated or trusted senders" (this prevents email/spam from the internet from being sent to internal distro groups). We ran into this problem, because SharePoint does not "authenticate" to the Exchange server, it ...


2

Try this troubleshooting guide http://sharepointalert.info/troubleshooting-sharepoint-alerts/


2

I ran into the same problem on my development instance. I checked the job status for the Immediate Alerts job and there was not one listed for the Central Admin web application. I opened up the SharePoint Management Shell and checked if this was enabled for the CA site with the following command stsadm -o getproperty -pn job-immediate-alerts -url ...


2

What you need to do is to avoid sending a confirmation automatically when creating the alert: var newAlert = currentUser.Alerts.Add(); ... bool sendmail= false; newAlert.Update(sendmail); Then send the subscription manually instead using: SPUtility.SendEmail(myWeb,headers,"You got mail"); ...


2

I found it. Actually I've enabled shared services provider on server so I'm not able to edit the profiles from People and Groups page from Site Collection pages. You need to go to Shared Services Provider site and from there to People and Groups to edit user profile.



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