<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Create Alerts Programmatically</title>
	<atom:link href="http://www.sharepointology.com/development/how-to-create-alerts-programmatically/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/</link>
	<description>Sharepointology is the study and handling of Microsoft Office SharePoint Server</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:47:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: sudheer</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-18668</link>
		<dc:creator>sudheer</dc:creator>
		<pubDate>Mon, 21 Nov 2011 06:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-18668</guid>
		<description>Hi,

I tried the above example...it worked without any errors...but it is not showing any programmatically created alerts in my alert subscription management page...How can i know that alerts are configured?


Thanks,
PVSAVSG.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I tried the above example&#8230;it worked without any errors&#8230;but it is not showing any programmatically created alerts in my alert subscription management page&#8230;How can i know that alerts are configured?</p>
<p>Thanks,<br />
PVSAVSG.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Kamoski</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-13689</link>
		<dc:creator>Mark Kamoski</dc:creator>
		<pubDate>Fri, 17 Jun 2011 15:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-13689</guid>
		<description>Dear Erwin - 

Please help.

Regarding creating SharePoint Alerts Programmatically, I saw your article here...

http://www.sharepointology.com/development/how-to-create-alerts-programmatically/

...and it was quite helpful so thank you for that...

...however, I still need to know how to set the &quot;Send Alerts for These Changes&quot; options programmatically...

...so do you know how to set this option using the SharePoint Object Model programmatically in a Web Part...

Send Alerts for These Changes  
Send me an alert when:  
- Anything changes 
- Someone else changes an item 
- Someone else changes an item created by me 
- Someone else changes an item last modified by me 
- Someone changes an item that appears in the following view: (DropDownList)
 
...???

Please advise.

Thank you.

- Mark Kamoski</description>
		<content:encoded><![CDATA[<p>Dear Erwin &#8211; </p>
<p>Please help.</p>
<p>Regarding creating SharePoint Alerts Programmatically, I saw your article here&#8230;</p>
<p><a href="http://www.sharepointology.com/development/how-to-create-alerts-programmatically/" rel="nofollow">http://www.sharepointology.com/development/how-to-create-alerts-programmatically/</a></p>
<p>&#8230;and it was quite helpful so thank you for that&#8230;</p>
<p>&#8230;however, I still need to know how to set the &#8220;Send Alerts for These Changes&#8221; options programmatically&#8230;</p>
<p>&#8230;so do you know how to set this option using the SharePoint Object Model programmatically in a Web Part&#8230;</p>
<p>Send Alerts for These Changes<br />
Send me an alert when:<br />
- Anything changes<br />
- Someone else changes an item<br />
- Someone else changes an item created by me<br />
- Someone else changes an item last modified by me<br />
- Someone changes an item that appears in the following view: (DropDownList)</p>
<p>&#8230;???</p>
<p>Please advise.</p>
<p>Thank you.</p>
<p>- Mark Kamoski</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-13572</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Mon, 13 Jun 2011 16:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-13572</guid>
		<description>I have a few questions about this.  Can I use this to provide another option in the &quot;Alert Me&quot; button besides &quot;Set alert on this list&quot;??  How do Implement the code above to add the new alert?

I&#039;m asking because I need the ability to (per user) have some custom code execute whenever something on my list changes.</description>
		<content:encoded><![CDATA[<p>I have a few questions about this.  Can I use this to provide another option in the &#8220;Alert Me&#8221; button besides &#8220;Set alert on this list&#8221;??  How do Implement the code above to add the new alert?</p>
<p>I&#8217;m asking because I need the ability to (per user) have some custom code execute whenever something on my list changes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Changing SPAlert EventType &#124; Abdel-Rahman.IT</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-6820</link>
		<dc:creator>Changing SPAlert EventType &#124; Abdel-Rahman.IT</dc:creator>
		<pubDate>Wed, 20 Oct 2010 09:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-6820</guid>
		<description>[...] Still the user gets the alerts whenever any new item is added to the list, which drove me crazy some long couple of search hours, I found that blog post [...]</description>
		<content:encoded><![CDATA[<p>[...] Still the user gets the alerts whenever any new item is added to the list, which drove me crazy some long couple of search hours, I found that blog post [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mahmoud</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-6077</link>
		<dc:creator>mahmoud</dc:creator>
		<pubDate>Thu, 26 Aug 2010 09:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-6077</guid>
		<description>thnx for this great article ,
i have a question , can i create 1 alert on more than 1 lists (to send all notifications in one email) ???</description>
		<content:encoded><![CDATA[<p>thnx for this great article ,<br />
i have a question , can i create 1 alert on more than 1 lists (to send all notifications in one email) ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelly Ford</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-6014</link>
		<dc:creator>Kelly Ford</dc:creator>
		<pubDate>Tue, 24 Aug 2010 20:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-6014</guid>
		<description>Great post.  Worked perfectly.  Thank you very much.</description>
		<content:encoded><![CDATA[<p>Great post.  Worked perfectly.  Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devanshu</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-5301</link>
		<dc:creator>Devanshu</dc:creator>
		<pubDate>Thu, 27 May 2010 09:53:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-5301</guid>
		<description>hi ervin,Thank u for this useful stuff...it was the thing for which i was searching..
but i have another query when we add alert programmatically they are not shown in the list like my alert..to display those what need to be done ...can anybody help me on this...</description>
		<content:encoded><![CDATA[<p>hi ervin,Thank u for this useful stuff&#8230;it was the thing for which i was searching..<br />
but i have another query when we add alert programmatically they are not shown in the list like my alert..to display those what need to be done &#8230;can anybody help me on this&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bharath</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-4536</link>
		<dc:creator>Bharath</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-4536</guid>
		<description>Guys, If you are subscribing alerts for some other user, you should be the administrator or should have permisssions to manage alerts.
Else run the code with 
SPSecurity.RunWithElevatedPrevilages(delegate()
{
web.AllowUnSafeUpdates=true;
/Here comes the code
});</description>
		<content:encoded><![CDATA[<p>Guys, If you are subscribing alerts for some other user, you should be the administrator or should have permisssions to manage alerts.<br />
Else run the code with<br />
SPSecurity.RunWithElevatedPrevilages(delegate()<br />
{<br />
web.AllowUnSafeUpdates=true;<br />
/Here comes the code<br />
});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ThiruKumaran</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-4520</link>
		<dc:creator>ThiruKumaran</dc:creator>
		<pubDate>Thu, 04 Feb 2010 18:08:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-4520</guid>
		<description>Hi ervin today full time i spent for this. Now i am at home my house. I hope this is what i want.. Any thanks for your sharing ..... All the best for your future endeavor.

Thanks 
Murali kumaran.</description>
		<content:encoded><![CDATA[<p>Hi ervin today full time i spent for this. Now i am at home my house. I hope this is what i want.. Any thanks for your sharing &#8230;.. All the best for your future endeavor.</p>
<p>Thanks<br />
Murali kumaran.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit Menke&#8217;s Blog &#187; Blog Archive &#187; Creating a SharePoint with different EventTypes</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-3507</link>
		<dc:creator>Kit Menke&#8217;s Blog &#187; Blog Archive &#187; Creating a SharePoint with different EventTypes</dc:creator>
		<pubDate>Wed, 19 Aug 2009 01:56:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-3507</guid>
		<description>[...] I recently ran into a problem creating alerts in a web part for the current user. After the alert was added, no matter what I set the SPAlert&#8217;s EventType to, it always defaulted to All. I finally figured out a way around this problem thanks to a helpful post by erwin at sharepointology. [...]</description>
		<content:encoded><![CDATA[<p>[...] I recently ran into a problem creating alerts in a web part for the current user. After the alert was added, no matter what I set the SPAlert&#8217;s EventType to, it always defaulted to All. I finally figured out a way around this problem thanks to a helpful post by erwin at sharepointology. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yaroslav Pentsarskyy&#8217;s SharePoint and .NET adventures &#187; Use Alert Framework when sending notifications in your SharePoint custom app</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-3363</link>
		<dc:creator>Yaroslav Pentsarskyy&#8217;s SharePoint and .NET adventures &#187; Use Alert Framework when sending notifications in your SharePoint custom app</dc:creator>
		<pubDate>Fri, 24 Jul 2009 05:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-3363</guid>
		<description>[...] Here is a good post on more options when sending out an alert:  http://www.sharepointology.com/development/how-to-create-alerts-programmatically/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Here is a good post on more options when sending out an alert:  <a href="http://www.sharepointology.com/development/how-to-create-alerts-programmatically/" rel="nofollow">http://www.sharepointology.com/development/how-to-create-alerts-programmatically/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-2598</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 19 May 2009 10:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-2598</guid>
		<description>This post is very useful for me. I have a question here. Can anybody tell me how to pass parameters to AlertTime property to set AM or PM timings

Thanks in advance
Reetha</description>
		<content:encoded><![CDATA[<p>This post is very useful for me. I have a question here. Can anybody tell me how to pass parameters to AlertTime property to set AM or PM timings</p>
<p>Thanks in advance<br />
Reetha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2009-05-11 @ Gene &#38; Tesha</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-2457</link>
		<dc:creator>links for 2009-05-11 @ Gene &#38; Tesha</dc:creator>
		<pubDate>Tue, 12 May 2009 00:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-2457</guid>
		<description>[...] How To Create Alerts Programmatically &#124; Sharepointology (tags: programming sharepoint alerts) [...]</description>
		<content:encoded><![CDATA[<p>[...] How To Create Alerts Programmatically | Sharepointology (tags: programming sharepoint alerts) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Graauw</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-2177</link>
		<dc:creator>Robert Graauw</dc:creator>
		<pubDate>Tue, 28 Apr 2009 13:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-2177</guid>
		<description>Hi I have a little question. One of the columns in my listitem is a lookupfield. i&#039;ve set up a mailserver to send the alerts which works fine when I update other columns. I get an email specifying that something has changed. However, when the lookupfield changes. I do not get alert. 

Is there anything special going on with lookupfields that would not trigger an alert?? and what could I do to get the alert working when a loopkupfield changes??</description>
		<content:encoded><![CDATA[<p>Hi I have a little question. One of the columns in my listitem is a lookupfield. i&#8217;ve set up a mailserver to send the alerts which works fine when I update other columns. I get an email specifying that something has changed. However, when the lookupfield changes. I do not get alert. </p>
<p>Is there anything special going on with lookupfields that would not trigger an alert?? and what could I do to get the alert working when a loopkupfield changes??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erwin</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-1641</link>
		<dc:creator>Erwin</dc:creator>
		<pubDate>Fri, 10 Apr 2009 08:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-1641</guid>
		<description>A few things to mention,

Do you have enough rights to add alerts for other users on the site/list/item your are trying this, try to do this by using the web interface of SharePoint to add an alert for someone else.</description>
		<content:encoded><![CDATA[<p>A few things to mention,</p>
<p>Do you have enough rights to add alerts for other users on the site/list/item your are trying this, try to do this by using the web interface of SharePoint to add an alert for someone else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alert Face Off: Google vs Microsoft SharePoint : Beyond Search</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-1463</link>
		<dc:creator>Alert Face Off: Google vs Microsoft SharePoint : Beyond Search</dc:creator>
		<pubDate>Sun, 05 Apr 2009 05:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-1463</guid>
		<description>[...] can one do this in SharePoint? Navigate here and download the code and explanation. The how to was the work of Erwin who explains his method in [...]</description>
		<content:encoded><![CDATA[<p>[...] can one do this in SharePoint? Navigate here and download the code and explanation. The how to was the work of Erwin who explains his method in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A few things to mention</title>
		<link>http://www.sharepointology.com/development/how-to-create-alerts-programmatically/comment-page-1/#comment-1041</link>
		<dc:creator>A few things to mention</dc:creator>
		<pubDate>Tue, 03 Mar 2009 15:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.sharepointology.com/?p=204#comment-1041</guid>
		<description>It seems that no matter what I do, it won&#039;t add it to the user&#039;s subscriptions.

I&#039;ve tried calling update on all three involved objects (User, Alert, Web) but it seems like nothing will make the event show up in their Alert subscription management page.

Is there anything else?</description>
		<content:encoded><![CDATA[<p>It seems that no matter what I do, it won&#8217;t add it to the user&#8217;s subscriptions.</p>
<p>I&#8217;ve tried calling update on all three involved objects (User, Alert, Web) but it seems like nothing will make the event show up in their Alert subscription management page.</p>
<p>Is there anything else?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

