<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>satheesh</title>
	<atom:link href="http://vspug.com/satheesh/feed/" rel="self" type="application/rss+xml" />
	<link>http://vspug.com/satheesh</link>
	<description>Just another VSPUG - Virtual SharePoint User Group weblog</description>
	<lastBuildDate>Fri, 23 Oct 2009 13:57:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sharepoint 2010</title>
		<link>http://vspug.com/satheesh/2009/10/23/sharepoint-2010/</link>
		<comments>http://vspug.com/satheesh/2009/10/23/sharepoint-2010/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 13:57:48 +0000</pubDate>
		<dc:creator>satheesh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vspug.com/satheesh/?p=11</guid>
		<description><![CDATA[Hello Friends,
      It has been long time since my last post. I am excited about Sharepoint 2010, and waited for this moment to restart my posts. Sharepoint 2010 is out and beta will be available by November 2009. Why should some one get excited about this, because it gives solutions for the problems what you [...]]]></description>
			<content:encoded><![CDATA[<p>Hello Friends,</p>
<p>      It has been long time since my last post. I am excited about Sharepoint 2010, and waited for this moment to restart my posts. Sharepoint 2010 is out and beta will be available by November 2009. Why should some one get excited about this, because it gives solutions for the problems what you face in MOSS 2007. To list few things out of them</p>
<p>    * Performance (Lists and Libraries can have millions of items inside it)</p>
<p>    * Site Usage details is available for more than 30 days (i think it is available for 365 days and you can customize it)</p>
<p>    * AJAX implementation bring rich UI experience.</p>
<p>    * Well supported for Firefox browser</p>
<p>    * Customizable ribbions (which is replacing contextual menus)</p>
<p>    * Silverlight Integration &amp; Client Object Model (You can play with that like Flash)</p>
<p>    and bunch of new features.. really exciting&#8230;<br />
Sharepoint 2010 resources:</p>
<p><a href="http://blogs.msdn.com/sharepoint/">http://blogs.msdn.com/sharepoint/</a></p>
<p> <a href="http://markbower.wordpress.com/2009/10/23/official-sharepoint-2010-and-office-2010-blogs/">http://markbower.wordpress.com/2009/10/23/official-sharepoint-2010-and-office-2010-blogs/</a></p>
<p><a href="http://msdn.microsoft.com/en-us/sharepoint/default.aspx">http://msdn.microsoft.com/en-us/sharepoint/default.aspx</a></p>
<p>Satheesh</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/satheesh/2009/10/23/sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying the Application pages through Solution file</title>
		<link>http://vspug.com/satheesh/2008/04/17/deploying-the-application-pages-through-solution-file/</link>
		<comments>http://vspug.com/satheesh/2008/04/17/deploying-the-application-pages-through-solution-file/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 05:35:00 +0000</pubDate>
		<dc:creator>satheesh</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[This is the sample Manifest.xml file for deploying a Application Page (layouts page) through the solution file. It is assumed that you know how to create a WSP file.
&#60;Solution SolutionId=&#34;540C3653-5A01-4a00-A0FA-2D2203BB3080&#34; xmlns=&#34;http://schemas.microsoft.com/sharepoint/&#34;&#62;&#160; &#60;FeatureManifests&#62;&#160;&#160;&#160; &#60;FeatureManifest Location=&#34;FeatureNameFeature.xml&#34;/&#62;&#160; &#60;/FeatureManifests&#62;&#160; &#60;Assemblies&#62;&#160;&#160;&#160; &#60;Assembly DeploymentTarget =&#34;GlobalAssemblyCache&#34; Location =&#34;Sample.AssemblyName.dll&#34;&#62;&#160;&#160;&#160;&#160;&#160; &#60;SafeControls&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;SafeControl Assembly=&#34;AssemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b51c7c45d52dacb6&#34; Namespace=&#34;NameSpace&#34; TypeName=&#34;*&#34; Safe =&#34;True&#34;/&#62;&#160;&#160;&#160;&#160;&#160; &#60;/SafeControls&#62;&#160;&#160;&#160; &#60;/Assembly&#62;&#160; &#60;/Assemblies&#62;&#160; &#60;TemplateFiles&#62;&#160;&#160;&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>This is the sample Manifest.xml file for deploying a Application Page (layouts page) through the solution file. It is assumed that you know how to create a WSP file.</p>
<p>&lt;Solution SolutionId=&quot;540C3653-5A01-4a00-A0FA-2D2203BB3080&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/sharepoint/">http://schemas.microsoft.com/sharepoint/</a>&quot;&gt;<br />&nbsp; &lt;FeatureManifests&gt;<br />&nbsp;&nbsp;&nbsp; &lt;FeatureManifest Location=&quot;FeatureNameFeature.xml&quot;/&gt;<br />&nbsp; &lt;/FeatureManifests&gt;<br />&nbsp; &lt;Assemblies&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Assembly DeploymentTarget =&quot;GlobalAssemblyCache&quot; Location =&quot;Sample.AssemblyName.dll&quot;&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SafeControls&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SafeControl Assembly=&quot;AssemblyName, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b51c7c45d52dacb6&quot; Namespace=&quot;NameSpace&quot; TypeName=&quot;*&quot; Safe =&quot;True&quot;/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/SafeControls&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/Assembly&gt;<br />&nbsp; &lt;/Assemblies&gt;<br />&nbsp; &lt;TemplateFiles&gt;<br />&nbsp;&nbsp;&nbsp; &lt;TemplateFile Location =&quot;LAYOUTSSample.aspx&quot;/&gt;<br />&nbsp; &lt;/TemplateFiles&gt;<br />&lt;/Solution&gt;</p>
<p>&nbsp;The above example is for a application page with code behind. &lt;SafeControls&gt; entry registers the dll as safe control and puts the dll in GAC. &lt;TemplateFiles&gt; entry puts the aspx page in the Layouts directory. Sameway you can target the others folders in the Template directory. </p>
<p>Satheesh Palaniswamy</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/satheesh/2008/04/17/deploying-the-application-pages-through-solution-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips about Infopath &#8211; Part 1</title>
		<link>http://vspug.com/satheesh/2008/03/13/tips-about-infopath-part-1/</link>
		<comments>http://vspug.com/satheesh/2008/03/13/tips-about-infopath-part-1/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 15:40:00 +0000</pubDate>
		<dc:creator>satheesh</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Tips about Infopath 2007
&#160;Here are the few tips on Infopath 2007, which most of the might already aware of. This is just of beginers.
Tip 1: &#34;Unknown error while publishing&#34;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; Sometimes when you try publishing a form you get a Unknown error. And you do all kind of research, still end up without getting a solution. [...]]]></description>
			<content:encoded><![CDATA[<p>Tips about Infopath 2007</p>
<p>&nbsp;Here are the few tips on Infopath 2007, which most of the might already aware of. This is just of beginers.</p>
<p><strong>Tip 1: &quot;Unknown error while publishing&quot;</strong></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sometimes when you try publishing a form you get a Unknown error. And you do all kind of research, still end up without getting a solution. This error most likely to come when you try change a name of a node in datasource which is referenced in one or more conditional formatting. </p>
<p>&nbsp;Actually i dont have solution for that, it would be better if we always take a backup of working copy, before modifying</p>
<p><strong>Tip 2: Adding new nodes to data sources which is already published</strong></p>
<p>&nbsp;-&gt; When we add nodes to data sources to a form which is already published, then we need to make a setting change while designing so that all the existing forms will be updated with the new nodes</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; In the form options -&gt; under versioning select the option &quot;Automatically upgrade existing forms&quot;</p>
<p>&nbsp;Few more tips in my next post</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/satheesh/2008/03/13/tips-about-infopath-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Document Library and ItemAdding Event</title>
		<link>http://vspug.com/satheesh/2007/10/15/document-library-and-itemadding-event/</link>
		<comments>http://vspug.com/satheesh/2007/10/15/document-library-and-itemadding-event/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 12:51:00 +0000</pubDate>
		<dc:creator>satheesh</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; In one of our project, we are supposed to lock down the users from creating folders at ROOT in document library. We thought of restricting through event handler. During coding we found that, ItemAdding event doesn&#39;t provide enough information to determine where the folder is been added.
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Searching on net,&#160;we found that was the [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In one of our project, we are supposed to lock down the users from creating folders at ROOT in document library. We thought of restricting through event handler. During coding we found that, ItemAdding event doesn&#39;t provide enough information to determine where the folder is been added.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Searching on net,&nbsp;we found that was the bug in MOSS, and Microsoft has provided a hotfix. You can get the Hotfix information in the&nbsp;below URL. It not only solves this problem, but also couple of other bugs, which you can find it in this URL.</p>
<p><a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;934790">http://support.microsoft.com/default.aspx?scid=kb;EN-US;934790</a></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;After installing this hotfix, you will get the AfterUrl property is having the information to determine where the folder/file is been added. But be careful in installing this hotfix, bcose sometimes it might negatively affect your project.&nbsp;We faced a problem of &#39;Access denied&#39; error message for accessing LOGS folder programmatically. So, testing the hotfix completely in a test environment is mandtory b4 installing on Development/Production machines.</p>
<p>&nbsp;Satheesh Palaniswamy.&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/satheesh/2007/10/15/document-library-and-itemadding-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching a List using List Web Service and Javascript</title>
		<link>http://vspug.com/satheesh/2007/09/08/searching-a-list-using-list-web-service-and-javascript/</link>
		<comments>http://vspug.com/satheesh/2007/09/08/searching-a-list-using-list-web-service-and-javascript/#comments</comments>
		<pubDate>Sat, 08 Sep 2007 14:32:00 +0000</pubDate>
		<dc:creator>satheesh</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Some time back, we were trying to do a search on List and show the results in a page. And bcose of the requirement, the default search functionality provided by sharepoint has bcome out of scope. And we don&#39;t want to write a custom web part for it, just bcose of installation issues. So, we [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Some time back, we were trying to do a search on List and show the results in a page. And bcose of the requirement, the default search functionality provided by sharepoint has bcome out of scope. And we don&#39;t want to write a custom web part for it, just bcose of installation issues. So, we thought of calling List WebService from JavaScript, parse result and display it. Everything through Content Editor Web Part.</p>
<p>So, what are required to do it from javascript (&nbsp;SOAP Envelope and AJAX)</p>
<p>Let&#39;t see first, how to call the web service from javascript.</p>
<p>var oWebService = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);<br />oWebService.open(&quot;POST&quot;, &quot;Web service URL comes here&quot;, false); <br />oWebService.setRequestHeader(&quot;SOAPAction&quot;, &quot;<a href="http://schemas.microsoft.com/sharepoint/soap/GetListItems">http://schemas.microsoft.com/sharepoint/soap/GetListItems</a>&quot;); <br />oWebService.setRequestHeader(&quot;Content-Type&quot;, &quot;text/xml&quot;); <br />oWebService.send(&quot;SOAP envelope&quot;);<br />var responseXML = oWebService.responseText;</p>
<p>Here&nbsp;are the values that we need to pass (Sample values)</p>
<p><strong><u>Web Service URL</u></strong><br />&nbsp;&nbsp;&nbsp;&nbsp; &quot;<a href="http://yoursite/subsite/_vti_bin/Lists.asmx">http://yoursite/subsite/_vti_bin/Lists.asmx</a>&quot;</p>
<p><strong><u>SOAP Envelope<br /></u></strong>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;soap:Envelope xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xmlns:xsd=&quot;<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>&quot; xmlns:soap=&quot;<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;&lt;soap:Body&gt;&lt;GetListItems</a> xmlns=&quot;<a href="http://schemas.microsoft.com/sharepoint/soap/">http://schemas.microsoft.com/sharepoint/soap/</a>&quot;&gt;<br />&lt;listName&gt;List Name&lt;/listName&gt;<br />&lt;queryOptions&gt;&lt;/queryOptions&gt;<br />&lt;query&gt;&lt;Query&gt;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name=&quot;Title&quot;/&gt;&lt;Value Type=&quot;Text&quot;&gt;Test&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&lt;/Query&gt;&lt;/query&gt;<br />&lt;/GetListItems&gt;<br />&lt;/soap:BOdy&gt;<br />&lt;/soap:Envelope&gt;</p>
<p>That&#39;s it. For more details on SOAP Envelope look into the list web service. This code might not work in all browsers. Only one function of List Web Service (GetListItems) is used here. This is just a abstract to give a idea. Hope this is useful.</p>
<p>Regards</p>
<p>Satheesh Palaniswamy.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/satheesh/2007/09/08/searching-a-list-using-list-web-service-and-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ByPass Error Page while canceling the event in Event Handler</title>
		<link>http://vspug.com/satheesh/2007/08/28/bypass-error-page-while-canceling-the-event-in-event-handler/</link>
		<comments>http://vspug.com/satheesh/2007/08/28/bypass-error-page-while-canceling-the-event-in-event-handler/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 17:37:00 +0000</pubDate>
		<dc:creator>satheesh</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Actually, till some time back, i was searching for a way to bypass the error page, while canceling the event in event handler. In one of our application, when user deletes a item, event handler should cancel event, set a different status (so, that item will not processed in the application anymore). And user [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Actually, till some time back, i was searching for a way to bypass the error page, while canceling the event in event handler. In one of our application, when user deletes a item, event handler should cancel event, set a different status (so, that item will not processed in the application anymore). And user should not get the error page, according to the user, item is deleted.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; One of my friend, gave the solution in minutes. Though many of you might already know this, but i think it is worth putting in a blog.&nbsp; Here is the simple code, which helps us doing that,</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; properties.Cancel = true;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;properties.Status = SPEventReceiverStatus.CancelNoError;</p>
<p>&nbsp; That&#39;s it, so simple. As most you might know that it works only in synchronous event. </p>
<p>Satheesh palaniswamy</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; </p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/satheesh/2007/08/28/bypass-error-page-while-canceling-the-event-in-event-handler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Filters in Query String</title>
		<link>http://vspug.com/satheesh/2007/08/24/filters-in-query-string/</link>
		<comments>http://vspug.com/satheesh/2007/08/24/filters-in-query-string/#comments</comments>
		<pubDate>Fri, 24 Aug 2007 05:55:00 +0000</pubDate>
		<dc:creator>satheesh</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#160;&#160;&#160;&#160;&#160;&#160; Yesterday, when we are searching on web ( for a different functionality ), we found one interesting article. Here is the requirement, in the home page, user have to search for a item(probably list of items) in a list on meta data selected by the user. We thought of doing it in out-of-box functionality. [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Yesterday, when we are searching on web ( for a different functionality ), we found one interesting article. Here is the requirement, in the home page, user have to search for a item(probably list of items) in a list on meta data selected by the user. We thought of doing it in out-of-box functionality. Here is how we have implemented (&nbsp;with some&nbsp;drawbacks <img src='http://vspug.com/satheesh/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ),</p>
<p>1) Create a Content Editor Web Part,&nbsp; make free text, drop down list with all meta data names and a button. On Click of the button, through javascript build a URL like this,</p>
<p>&nbsp;<a href="http://yoursite/yourwebpartpage.aspx?FilterField">http://yoursite/yourwebpartpage.aspx?FilterField1=&lt;Value</a> from the Drop Down&gt;&amp;FilterValue1=&lt;Value from the text&gt;</p>
<p>use the javascript, for redirecting the page to the URL that we built</p>
<p>window.location.href = &quot;URL like one above&quot;</p>
<p>2) Create a List View Part in the same web part page, from which the items needs to be filtered. You can limit the no of items displayed per page through the view, if you have more items to be displayed.</p>
<p>That&#39;s it. Your simple search&nbsp;ready in minutes.</p>
<p>One drawback is that we can&#39;t use wild card search (or atleast i haven&#39;t found how do that). </p>
<p>Hope this helps.</p>
<p>Satheesh Palaniswamy</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/satheesh/2007/08/24/filters-in-query-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running the event handler code with elevated privilages</title>
		<link>http://vspug.com/satheesh/2007/08/19/running-the-event-handler-code-with-elevated-privilages/</link>
		<comments>http://vspug.com/satheesh/2007/08/19/running-the-event-handler-code-with-elevated-privilages/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 11:36:00 +0000</pubDate>
		<dc:creator>satheesh</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Lost of us would have created number of event handlers. In situations, we would have&#160;implemented most of the application logic in event handlers. That would be like, starting worklfows, setting permissions, adding users to the site etc.,
&#160;Take this example, i have a list, and i have given permission to eveyone to create a item in [...]]]></description>
			<content:encoded><![CDATA[<p>Lost of us would have created number of event handlers. In situations, we would have&nbsp;implemented most of the application logic in event handlers. That would be like, starting worklfows, setting permissions, adding users to the site etc.,</p>
<p>&nbsp;Take this example, i have a list, and i have given permission to eveyone to create a item in the list. On creation of item, i have written a event handler, which puts an entry in log list, creates folders in other libraries, where the creator is having only read access on those libraries/list. So, during such situation, event handler might throw exceptions.</p>
<p>&nbsp;So, how to&nbsp;handle these situations, here comes the solution. We have a SPSecurity.RunWithElevatedPrivileges function which helps us doing this.</p>
<p>&nbsp;Example</p>
<p>SPSecurity.RunWithElevatedPrivileges(delegate()<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // create objects here and do the operation</p>
<p>});</p>
<p>Satheesh Palaniswamy&nbsp;</p>
<p>Happy Programming&#8230;&nbsp; <img src='http://vspug.com/satheesh/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/satheesh/2007/08/19/running-the-event-handler-code-with-elevated-privilages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use MOSS 2007 Out of Box Send Mail function &amp; SPUtility</title>
		<link>http://vspug.com/satheesh/2007/08/13/how-to-use-moss-2007-out-of-box-send-mail-function-amp-sputility/</link>
		<comments>http://vspug.com/satheesh/2007/08/13/how-to-use-moss-2007-out-of-box-send-mail-function-amp-sputility/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 06:57:00 +0000</pubDate>
		<dc:creator>satheesh</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi,
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Some of us might have encountered situation, where we might have to send mails to the users. But we might not interested in using the .net Send mail functionality (which involves storing the SMTP ip address).&#160; MOSS comes with a namesapce Microsoft.SharePoint.Utilities,&#160; which provides us this functionality.
&#160;Include this namespace in your code.
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; using Microsoft.SharePoint.Utilities;
Use [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Some of us might have encountered situation, where we might have to send mails to the users. But we might not interested in using the .net Send mail functionality (which involves storing the SMTP ip address).&nbsp; MOSS comes with a namesapce <strong>Microsoft.SharePoint.Utilities,</strong>&nbsp; which provides us this functionality.</p>
<p>&nbsp;Include this namespace in your code.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>using Microsoft.SharePoint.Utilities;</em></p>
<p>Use this function,</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPUtility.SendEmail</p>
<p>That&#39;s it, as simple as that. You can explore other functions exposed by SPUtility as well.. Happy Programming.</p>
<p>&nbsp;Regards</p>
<p>Satheesh Palaniswamy</p>
<p><em></em>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/satheesh/2007/08/13/how-to-use-moss-2007-out-of-box-send-mail-function-amp-sputility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
