Hot answers tagged

29

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


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


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

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

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


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

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


4

If you have developer knowledge, you can interrupt the email alerts, according to : http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/14/how-to-customizing-alert-emails-using-ialertnotificationhandler.aspx. We have used it to modify the email alert. The other solution is to filter them in exchange, but the exchange guy won't be very happy


4

You can copy the default page used to create those alerts in your 15 hive. Then make your modifications to the edited copy to make it do what you want. Once completed, you can use STSADM to update your Alert Templates. stsadm -o updatealerttemplates -url http://mysite -f "c:\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\...


4

To add to William's comment... When you create a workflow to email several people when a file is added, create a SharePoint Security group and send the email to the group. So... when a new policy document is added... email the "Board of Directors". This way when board members change you don't have to revisit this workflow.


4

First, look in the site's Recycle Bin. If it truly was a delete, it should be there (be sure to use a site collection admin account to check). Next, look in the Site Collection Recycle Bin. Items removed from a site's recycle bin get moved to the site collection recycle bin. Both of these options display the name of the "Deleted by" person. Barring that,...


4

Being alerted on a single item (a single document or a single item in a list) is different than being alerted whenever an item changes in a whole list. You can decide to be alerted on a single item or the whole list. Alert me on one single item is also possible from the ... (dots - single item menu) or at least it used to in previous versions, then they ...


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

From what I understand, this option is only available in lists where the Assigned To Column is present within the content type. It is used to notify the person or group that the task has been assigned to them, rather than to notify the creator that someone has picked it up. When your create a new item in a list where this enabled the following message ...


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.


3

On the Ribbon, under List > Alert me > Set alert on this list, you can set alerts when new items are added


3

SharePoint uses the default URL for links in alerts and workflows that are automatically kicked off. Regarding alerts the only real way around this is to change the URL of the Default zone. This can be done in CA with the AAM, by the cmdlet Set-SPAlternateURL or (my preference) delete the web application (preserving the data of course) and creating a new ...


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