Automatic Alert Subscription for specific items in a list

Posted on 2013-09-17
Medium Priority
Last Modified: 2013-10-04
We currently have a SharePoint foundation 2010 calendar that allows creation of entries via a custom form. That form allows users to create an event specific to our business, including setting a sales person for the event, a technician to do the work, etc. We currently have a list of salespeople and technicians manually coded into the form. We are looking to get the following behavior for this form:

If someone creates a new event and designates a salesperson or a technician, we would like that salesperson (or technician) to be subscribed to alerts for that event automatically.  Just by having the salesperson (or technician) designated on an event which has been saved we want that to create the subscription without any additional steps by the user entering the event, or by the salesperson or technician. We don't want that salesperson or technician to get alerts for other events associated with other sales people or technicians, just their own (so they should not be getting alerts for every item in the calendar associated with another technician or salesperson).

What's the best way to do this?

Question by:Julian123
LVL 32

Accepted Solution

Jamie McAllister MVP earned 1000 total points
ID: 39498752
There's no really nice answer for this. It is possible to add some script to your form, and that script can subscribe a named user to alerts. However, the javascript has to call the SharePoint web services responsible. It's not really straightforward;


However Marc Anderson put together a script library called SPServices to make it easier to call such SharePoint web services from code.

Adding the services;


Adding an Alert with SPServices;


A little more work will be needed to plumb the bits together for your specific requirements, but I'd say this is a good start.
LVL 44

Assisted Solution

by:Rainer Jeschor
Rainer Jeschor earned 1000 total points
ID: 39499716
there is no "direct" possibility to use Javascript/Client Object Model or built-in web services.

So either you use the method mentioned by JamieMcAllister or
- create your own web service which provides an interface to create the alert server side
- create an event receiver

Both have their pros and cons but I would suggest to use the custom web service approach - just due to re-usability and control.


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question