Hot answers tagged

28

Workflow it is. A very simple one should suffice. In the explanation below I'm using SharePoint 2013 and Office 365, but it's absolutely the same in SP2010 or/and on premises, and even in SP2007 the process is very similar. You will need SharePoint Designer installed on your computer. Creating workflow: Open SharePoint designer Open your site Go to ...


17

The solution as I found recently, is to use the 2010 workflow to send the email as it is not bound by the restrictions. The 2013 workflow is in only sending to users known by the tenancy (i.e. those with accounts). In my case I did all the main bulk of the workflow in 2013 with loops and all the nice new features, then used a really simple parameter driven ...


16

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


11

Considered as answered. I've written two scripts for this: one to allow users to subscribe/unsubscribe to a list or library and one to show notifications whenever a new item was added to a list or library to which the user is subscribed to. Create a list to store your subscribers: You need to make a simple list at the top site level named "Subscribed ...


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


9

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


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


7

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


6

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.


6

As a developer you have several ways to customize the alerts. In order to insert your company's logo, you will have to implement your own iAlertNotifyHandler. You can get an overview about your possibilities here: "msdn Library > Alerts in SharePoint Foundation" The article says nothing about SharePoint 2013, but when you look in the documentation for "...


6

To trigger an email, most people will tell you how to create a workflow (probably with SharePoint Designer). That's quite easy, it would work in most cases. But it's not the purpose of workflows (+ they do appear in the UI, they're slow, ...) Another approach is to ask a developer to create a custom App (sorry we have to say "add-in" now). That app would ...


6

In order to send a notification email when a new document is uploaded, you can use the out of the box alerts provided by SharePoint. These alerts will send a notification mail to the individual on the event of new item creation in the document library. Use this link to create an alert.


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

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


5

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


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

Here is a basic outline of creating an alert using powershell. Combine this with some powershell that iterates through the sites / lists you are hoping to target and you have yourself a good start. $SPsite = Get-SPSite "http://SharePointSite.com" $SPweb=$SPsite.Rootweb $SPlist=$SPweb.lists["Shared documents"] $SPuser = $SPweb.EnsureUser('Domain\Salaudeen')...


5

No, another user (or administrator) can't edit another users alerts: An administrator can view and delete (but not edit) alerts for any users on a site. Ref: Alerts Overview What you can do is this Start by going to your list where you have the alert and chose the List tab. In the Share & Track section you find the Alert Me icon and text. Select ...


5

Have you checked User Alerts under Site Administration? Supposing that you are Site Collection Administrator.


5

The best way would be to use WebSockets. With WebSockets the server can send the notifications to the browsers so the browsers don't have to poll the server for updates. You will need some server side and some client side code. With SignalR the process is simplified and you'll see that very little code is needed to get things working. Main steps: Setup ...


5

The easy answer, for now, is to make a SharePoint 2010 workflow in SPD and use that to send the email to an external email address since the 2010 version (unlike 2013 version) can send to external emails. How do you send emails to external email address in sharepoint online workflows


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 http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-...


4

I had the same problem, but this solution worked for me SP Designer WF Email doesn't go to SP Group All you have to do is: - Give everyone view acces to the group Go to the Group Settings, then, set everyone on "Who can view the membership of the group?", click OK - Add read permissions for the Sharepoint group to the site. Just be sure to give "read" ...


4

Sending SharePoint 2010 alerts to an Exchange distribution list. Create the distribution list/group in Active Directory and assign an email address. Do not use any dashes "-" in the group name. Edit the properties of the group to change its Group Type to Security (from Distribution). Make sure the group is a Universal group. Only security groups show up in ...


4

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


4

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


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.


4

Make a console application with the following code to Disable/Enable alerts on a SharePoint 2010/2007 list/Library. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; using System.IO; namespace EnableDisableAlertsInList { class Program { ...


4

what about some custom javascript to do an asynchronous REST query into the library, make it show new items posted or modified in the last 7 days, or whatever your timeframe is? Here is an example I use: Must include "SP.REQUESTEXECUTOR" script <script src="/_layouts/15/sp.requestexecutor.js" type="text/javascript"></script> function ...


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