SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the GetListItemChangesSinceToken service in order to be notified for changes in a sharepoint list.

This works ok for deleted items since the ChangeType return Delete , but for added items, apparently there is no ChangeType for that action.

Does anybody knows if there is a way to know if content was added to a list or folder using a SharePoint service?

Thanks in advance

share|improve this question

I presume your talking about alerts, setting an alert on a list will notify the selected user by email if you add or edit or delete or all of them ;)

by the sharepoint UI:

someone has done it for you already by code:

using (SPSite mySiteCollection = new SPSite("http://myserver/myspsite"))
    using (SPWeb mySite = mySiteCollection.OpenWeb(mySiteCollection.RootWeb.ID))

       string myUserLogin = @"MyDomain\MyUser";
       SPUser myUser = mySite.Users[myUserLogin];
       SPAlert newAlert = myUser.Alerts.Add();
       newAlert.Title = "My Title";

       SPListItem myListItem = mySite.Lists["My List Name"].Items.GetItemById(1);
       newAlert.AlertType = SPAlertType.Item;
       newAlert.Item = myListItem;

       newAlert.AlertTemplate = myListItem.ParentList.AlertTemplate;

       newAlert.EventType = SPEventType.Add;

       newAlert.Filter = string.Empty;

       newAlert.AlertFrequency = SPAlertFrequency.Immediate;



each step is outlined in detail here:

hope it helps :)

share|improve this answer
Hey, thanks for the answer, but I was not talking about alerts. On the other hand, maybe this can solve my problem, since apparently there is no way to know if new items was added to a list or folders using the GetListItemChangesSinceToken service. I will give it a try and provide feedback if there is no way to do it using the specified service. – Omer Jan 18 '13 at 17:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.