<?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/"
	>

<channel>
	<title>Tech ++ &#187; SharePoint</title>
	<atom:link href="http://www.praveenmodi.com/category/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.praveenmodi.com</link>
	<description>Musings on SharePoint, ECM, and more...</description>
	<pubDate>Wed, 16 Jun 2010 20:20:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows 7 Vs Windows Server 2008 for SharePoint Development</title>
		<link>http://www.praveenmodi.com/windows-7-vs-windows-server-2008-for-sharepoint-development/</link>
		<comments>http://www.praveenmodi.com/windows-7-vs-windows-server-2008-for-sharepoint-development/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 23:27:26 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[SharePoint 2010]]></category>

		<category><![CDATA[Advantages of Installing SharePoint 2010 on Windows Server 2008]]></category>

		<category><![CDATA[Comparison SharePoint 2010 on Windows 7 and Server 2008]]></category>

		<category><![CDATA[Disadvantages of Installing SharePoint 2010 on Windows 7]]></category>

		<category><![CDATA[Disadvantages of installing SharePoint 2010 on Windows 7 and Vista]]></category>

		<category><![CDATA[Installing SharePoint 2010 on Windows 7]]></category>

		<category><![CDATA[Installing SP 2010 on Windows Server 2008]]></category>

		<category><![CDATA[SharePoint 2010 on Windows 7 Issues and Problems]]></category>

		<category><![CDATA[SharePoint 2010 Windows 7 Installation Step By Step]]></category>

		<category><![CDATA[SharePoint 2010 Windows 7 Limitations]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/?p=196</guid>
		<description><![CDATA[Microsoft made some great improvements with SharePoint 2010 and one of significant one is that now you can run SharePoint 2010 on client Operating Systems like Windows 7 Ultimate and Windows Vista with SP2.
Now the question arises if one should use Windows 7 or Windows Server 2008 for development? I would suggest Windows Server 2008 [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft made some great improvements with SharePoint 2010 and one of significant one is that now you can run SharePoint 2010 on client Operating Systems like Windows 7 Ultimate and Windows Vista with SP2.</p>
<p>Now the question arises if one should use Windows 7 or Windows Server 2008 for development? I would suggest Windows Server 2008 instead of Windows 7 for developer machine OS because of the following reasons:</p>
<div>
<div>
<ul>
<li>
<p>Installation of SP 2010 on Windows 7 is a tedious task which involves installation of additional patches, hotfix’s and configurations. Also check the community content section for some issue people faced while setting up SP 2010 on Windows 7.  Follow this link for Step by Step guidance on Installing SharePoint 2010 <a href="http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx" target="_blank" class="external" rel="nofollow">http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx</a></p>
</li>
<li>
<p>In my opinion and learning’s from the past experience, it’s always better to develop application on same software configurations which will be used in the integration, test and production environments.</p>
</li>
<li>
<p>SharePoint 2010 requires Windows 7 Ultimate version. There is not much difference in performance and hardware resources utilization between Windows 7 and Windows 2008(if some unnecessary services are turned off).</p>
</li>
<li>
<p>In a recent interview Arpan Shah, Technical Director SharePoint, Microsoft, mentioned that there are some limitation when developing SP 2010 applications on Windows 7 and Vista. Here is an excerpt from his interview
<li>&#8220;It’s important to point out that there are limitations when developing on the Windows Client, so we recommend that developers use Windows Server for a full developer experience across all the SharePoint Server 2010 features.&#8221;</li>
<p> More information on <a href="http://reddevnews.com/articles/2010/06/02/sharepoint-qa-arpan-shah.aspx" target="_blank" class="external" rel="nofollow">http://reddevnews.com/articles/2010/06/02/sharepoint-qa-arpan-shah.aspx</a><br/><br />
He didn’t elaborate on the limitations so not sure what the limitations are.</p>
</li>
<li>
<p>Windows 7 only supports standalone version of SharePoint i.e. you cannot add a Windows 7 machine to a SharePoint farm.</p>
</li>
</ul>
</div>
<p>So this is my 2 cents on this topic. I would be very interested to know what others have to say. Do share your opinion with us.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/windows-7-vs-windows-server-2008-for-sharepoint-development/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What is SharePoint? When to use it?</title>
		<link>http://www.praveenmodi.com/what-is-sharepoint-when-to-use-it/</link>
		<comments>http://www.praveenmodi.com/what-is-sharepoint-when-to-use-it/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 15:28:46 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[SharePoint 2010]]></category>

		<category><![CDATA[SharePoint 2010 for Beginners]]></category>

		<category><![CDATA[SharePoint for Business]]></category>

		<category><![CDATA[SharePoint For Dummies]]></category>

		<category><![CDATA[SharePoint Videos]]></category>

		<category><![CDATA[What is SharePoint]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/?p=190</guid>
		<description><![CDATA[Microsoft SharePoint team has released an excellent video that explains in simple terms what SharePoint is, and why/how people use it. 
If you&#8217;re dealing with people who are new to SharePoint and finding it hard to explain what it is, this video might be a savior. It also great to include in a client pitch [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft SharePoint team has released an excellent video that explains in simple terms what SharePoint is, and why/how people use it. </p>
<p>If you&#8217;re dealing with people who are new to SharePoint and finding it hard to explain what it is, this video might be a savior. It also great to include in a client pitch where at times most of the business folks have no clue about SharePoint.</p>
<p><b><i>You need to have the latest version of <a href="http://silverlight.net" target="_blank" class="external" rel="nofollow">Silverlight</a> to view this video or you can choose to view it in <a href="mms://msnvidweb.wmod.msecnd.net/a10026/e1/ft/share5/3b01/0/SharePoint%20in%20Plain%20English.wmv" class="external" target="_blank" rel="nofollow">WMV</a> format.</i></b></p>
<p style="text-align: center;">
<iframe src="http://www.microsoft.com/video/en/us/player/embed/76e8d3af-c2bd-42a6-bb12-befcbd041bf1" allowtransparency="true" width="430" height="326" scrolling="no" frameborder="0"></iframe><br/><a href="http://www.microsoft.com/video/en/us/details/76e8d3af-c2bd-42a6-bb12-befcbd041bf1?vp_evt=eref&#038;vp_video=SharePoint+in+Plain+English" class="external" target="_blank" rel="nofollow">SharePoint in Plain English</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/what-is-sharepoint-when-to-use-it/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SharePoint Performance Optimization &#8211; Part 1</title>
		<link>http://www.praveenmodi.com/sharepoint-performance-optimization-part-1/</link>
		<comments>http://www.praveenmodi.com/sharepoint-performance-optimization-part-1/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 19:28:18 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[Improve SharePoint Performance]]></category>

		<category><![CDATA[SharePoint 2007 Performance issues]]></category>

		<category><![CDATA[SharePoint Performance Optimization]]></category>

		<category><![CDATA[SharePoint Performance Planning]]></category>

		<category><![CDATA[SharePoint Performance Tips]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/sharepoint-performance-optimization-part-1/</guid>
		<description><![CDATA[Use 64-bit Win Server 2008 servers for Web servers
 Next version of SharePoint will be 64-bit only is a good enough reason to use a 64-bit operating system (Windows Server 2008) for all new installation. If you plan for and implement 64-bit MOSS now, it may make your upgrade path in the future a little [...]]]></description>
			<content:encoded><![CDATA[<h3>Use 64-bit Win Server 2008 servers for Web servers</h3>
<p> Next version of SharePoint <a href="http://www.praveenmodi.com/system-requirements-for-sharepoint-server-2010/">will be 64-bit only</a> is a good enough reason to use a 64-bit operating system (Windows Server 2008) for all new installation. If you plan for and implement 64-bit MOSS now, it may make your upgrade path in the future a little easier. </p>
<p>The 64-bit systems offer direct access to more virtual and physical memory than 32-bit systems and process more data per clock cycle, enabling more scalable, higher performing computing solutions. </p>
<p>The /3GB switch is not recommended for SharePoint Server running on 32-bit OS. Microsoft recommends against using the /3 GB switch because most SharePoint site traffic involves sending large amounts of data through the operating system. Therefore, leaving only 1 GB of address space for the operating system can destabilize the computer. </p>
<p><strong>Additional Reads:</strong></p>
<p>&quot;<a href="http://www.sharepointblogs.com/johnwpowell/archive/2007/07/19/64-bit-gotchas.aspx" target="_blank" class="external" rel="nofollow">64-Bit Gotchas</a>&quot; <http:  64-bit-gotchas.aspx 19 07 2007 archive johnwpowell www.sharepointblogs.com>by John Powell states couple of important things you need to be aware of when choosing between 32-bit and 64-bit MOSS environments. </p>
<p>Check out the &quot;<a href="http://download.microsoft.com/download/9/e/9/9e9b9c02-4e68-46d5-83e3-86258e9e780c/Benefits_of_Windows_x64.doc" target="_blank" class="external" rel="nofollow">Benefits of 64-bit Windows</a>&quot; whitepaper from Microsoft to know more advantages of using 64-bits Servers.&#160; </p>
<h3>Avoid mixing 32-bit and 64-bit servers</h3>
<p>One should avoid to mix to 32-bit and 64-bit servers until you have any significant reason to do so. You can still mix and match 32 and 64 bit servers, but you must keep the same architecture at each tier of the farm.&#160; For example all front end (WFE) SharePoint servers must be either 32-bit or 64-bit.&#160; All index/search servers must be one or the other.&#160; All database servers (if you have more than 1 in a cluster for example) must be either 32-bit or 64-bit.&#160; But at each tier you can change architecture. For example you could have 2 front ends at 64-bit, 2 search index servers at 32-bit, and 2 database servers 32-bit.&#160; As long as each tier is the same architecture.</p>
<p>Mixing 32-bit and 64-bit servers can affect load balancing. However, there is a risk that the 32-bit servers might become overloaded if the network load balancer is configured to use a less-intelligent model such as round robin.</p>
<p>Additionally, deploying both 32-bit and 64-bit servers increases the maintenance overhead for the farm. This is because third-party applications, custom solutions, patches, and software updates for both architectures must be tracked and managed independently.</p>
<h3>Limit the size of content database</h3>
<p>Microsoft recommends that content database size should not be more than 100 GB to achieve optimal performance. In case your design requires a database larger than 100 GB, you should split content from a site collection that is approaching 100 GB into a new site collection in a separate content database to avoid performance or manageability issues.</p>
<h3>Put SQL Server 2005 on a dedicated server</h3>
<p>As a best practice use install SQL Server 2005 on a dedicated server that is not running any other farm roles, unless you are deploying your system on a stand-alone server. You should use 64-bit version of SQL Server 2005 on a 64-bit operating system, unless you have a significant business reason not to.</p>
<h3>Turn Off the features you don&#8217;t need</h3>
<p>SharePoint offers many features but you don&#8217;t necessary need all for your application. Resources will be more efficiently used if you only turn on the features relevant to your application.</p>
<p>As with any software, some features take up more resources than others. Especially the features that rely on the Microsoft SharePoint Timer service, such as alerts and usage analysis log processing, can have more of an impact on your server performance than other features. Different features can affect server resources for different reasons, but usually performance is impacted when a feature must be run on demand when a user performs a particular action.</p>
<h3>Use Kerberos authentication</h3>
<p>NTLM and Kerberos are the two popular authentication mechanisms for SharePoint. </p>
<p>NTLM Authentication is the well-known and uses challenge-response for authentication. NTLM is easy and does not require any special configuration. As Microsoft likes to say, “It just works.”</p>
<p>Kerberos, on the other hand, is a more complex ticket-based authentication mechanism that authenticates the client to the server and authenticates the server to the client. While Kerberos is more secure with several other advantages though it can be a bit challenging to configure it properly.</p>
<p>Microsoft recommends using Kerberos authentication for farms with heavy usage as it can return authentication request results quickly. Kerberos caches information about the client after authentication and therefore it requires fewer round trips to the domain controllers in comparison to NTLM. Once a client gets a service ticket for a service from the Key Distribution Center (KDC -Domain controller on a windows network) it can reuse that ticket to authenticate with the service without having to go back to the domain controller for a new ticket. NTLM requires trips to the domain controller on every authentication request. This means that it can perform better than NTLM particularly in large farm environments. </p>
<p><strong>Additional Reads:</strong></p>
<p>SharePoint Joel <a href="http://www.sharepointjoel.com/Lists/Posts/Post.aspx?List=0cd1a63d-183c-4fc2-8320-ba5369008acb&amp;ID=2" target="_blank" class="external" rel="nofollow">blog post</a> on Kerberos authentication</p>
<p><a href="http://technet.microsoft.com/en-us/library/cc263449.aspx" target="_blank" class="external" rel="nofollow">Configure Kerberos authentication</a> (Office SharePoint Server) on TechNet</p>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/sharepoint-performance-optimization-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SharePoint 2010 Sneak Peek</title>
		<link>http://www.praveenmodi.com/sharepoint-2010-sneak-peek-videos/</link>
		<comments>http://www.praveenmodi.com/sharepoint-2010-sneak-peek-videos/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 05:24:50 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[SharePoint 2010]]></category>

		<category><![CDATA[SharePoint 2010 Sneak peek videos]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/?p=187</guid>
		<description><![CDATA[Today,  Microsoft announced that SharePoint 2010 has reached the technical preview engineering milestone and sneak peek videos are available on Microsoft official site. Microsoft didn&#8217;t shared the completely details about SharePoint 2010 at this point but promises to go much deeper &#38; broader at the SharePoint Conference in October. With whatever initial information that is [...]]]></description>
			<content:encoded><![CDATA[<p>Today,  Microsoft announced that SharePoint 2010 has reached the technical preview engineering milestone and sneak peek videos are available on Microsoft official site. Microsoft didn&#8217;t shared the completely details about SharePoint 2010 at this point but promises to go much deeper &amp; broader at the <a href="http://www.mssharepointconference.com/Pages/default.aspx" target="_blank" class="external" rel="nofollow">SharePoint Conference</a> in October. With whatever initial information that is coming out of the technical preview of SharePoint 2010, I feel that SharePoint 2010, will be its finest and a big shift from its predecessor.</p>
<p><strong>Check out these cool videos to for more details about SharePoint 2010:</strong></p>
<p>2010 Sneak Peek Overview Video: <a href="http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Overview-Video.aspx " target="_blank" class="external" rel="nofollow">http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Overview-Video.aspx </a><br />
2010 Sneak Peek IT Pro Video: <a href="http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/IT-Pro-video.aspx " target="_blank" class="external" rel="nofollow">http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/IT-Pro-video.aspx </a><br />
2010 Sneak Peek Developer Video: <a href="http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Developer-video.aspx " target="_blank" class="external" rel="nofollow">http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Developer-video.aspx </a><br />
2010 Sneak Peek Get Ready: <a href="http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Get_Ready.aspx" target="_blank" class="external" rel="nofollow">http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Get_Ready.aspx</a></p>
<p><strong>Here some key updates coming out of the technical preview:</strong></p>
<ul>
<li>Office 2007 ribbon coming to SharePoint</li>
<li>Better and more organised user interface</li>
<li>Silverlight Web Part</li>
<li>Extended support for browsers like Firefox, Opera and Safari on Windows</li>
<li>Business Connectivity Services (the evolution of the Business Data Catalog)</li>
<li>Enhanced version of Groove dubbed as &#8216;SharePoint Workspace&#8217;</li>
<li>Visual Studio 2010 SharePoint Tools</li>
<li>Language Integrated (LINQ) for SharePoint</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/sharepoint-2010-sneak-peek-videos/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hotfix for SP2 that reverts SharePoint products to Trial Version is released</title>
		<link>http://www.praveenmodi.com/hotfix-for-sharepoint-sp2-trial-version-released/</link>
		<comments>http://www.praveenmodi.com/hotfix-for-sharepoint-sp2-trial-version-released/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 18:42:15 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[SharePoint 2007 Service Pack 2 Hotfix Download]]></category>

		<category><![CDATA[SharePoint 2007 SP2 Trail Version issue]]></category>

		<category><![CDATA[SharePoint SP2 Hotfix]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/?p=185</guid>
		<description><![CDATA[Microsoft has released a fix for the SP2 problem that reverts the license into a Trial version after installing Service Pack 2.
Check KB article (971620) for more details. However the links to the download page mentioned in the article are not working and resulting in standard error page.
Thanks to Stephen Gossner for providing download location [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released a fix for the SP2 problem that reverts the license into a Trial version after installing Service Pack 2.</p>
<p>Check KB article (<a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;971620" target="_blank" class="external" rel="nofollow">971620</a>) for more details. However the links to the download page mentioned in the article are not working and resulting in standard error page.</p>
<p>Thanks to <a href="http://blogs.technet.com/stefan_gossner/default.aspx" target="_blank" class="external" rel="nofollow">Stephen Gossner</a> for providing download location of the hotfix EXE files.</p>
<p><strong>Download locations:</strong></p>
<p><strong>32-bit version: </strong></p>
<p><a href="http://download.microsoft.com/download/2/F/5/2F51AB71-1325-49D2-9CB9-18DEC4780E99/office2007-kb971620-fullfile-x86-glb.exe" target="_blank" class="external" rel="nofollow">http://download.microsoft.com/download/2/F/5/2F51AB71-1325-49D2-9CB9-18DEC4780E99/office2007-kb971620-fullfile-x86-glb.exe</a></p>
<p><strong>64-bit version</strong>:</p>
<p><a href="http://download.microsoft.com/download/2/F/5/2F51AB71-1325-49D2-9CB9-18DEC4780E99/office2007-kb971620-fullfile-x86-glb.exe" target="_blank" class="external" rel="nofollow"> http://download.microsoft.com/download/5/B/B/5BBD34A9-C528-42B0-8A5F-9A8997B25C32/office2007-kb971620-fullfile-x64-glb.exe</a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/hotfix-for-sharepoint-sp2-trial-version-released/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SHAREPOINT DESIGNER 2007 IS NOW FREE!</title>
		<link>http://www.praveenmodi.com/sharepoint-designer-2007-is-now-free/</link>
		<comments>http://www.praveenmodi.com/sharepoint-designer-2007-is-now-free/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 17:17:08 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[Free MOSS tools]]></category>

		<category><![CDATA[Free SharePoint Designer]]></category>

		<category><![CDATA[Free SharePoint Designer Download Link]]></category>

		<category><![CDATA[Free SharePoint Tools]]></category>

		<category><![CDATA[MOSS Tools for Developers]]></category>

		<category><![CDATA[SharePoint Designer]]></category>

		<category><![CDATA[UseFul Tools for MOSS]]></category>

		<category><![CDATA[UseFul Tools for SharePoint]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/sharepoint-designer-2007-is-now-free/</guid>
		<description><![CDATA[Microsoft is now offering its Office SharePoint Designer 2007 for free. As&#160; of today it selling for $200+ on on Amazon. 
Here is the download link on Microsoft for SharePoint Designer 2007.
]]></description>
			<content:encoded><![CDATA[<p>Microsoft is now offering its Office SharePoint Designer 2007 for free. As&#160; of today it selling for $200+ on on <a href="http://www.amazon.com/Microsoft-Office-SharePoint-Designer-2007/dp/B000HCXKKI/ref=pd_bbs_sr_2?ie=UTF8&amp;s=software&amp;qid=1238951192&amp;sr=8-2" target="_blank" class="external" rel="nofollow">Amazon</a>. </p>
<p>Here is the <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=baa3ad86-bfc1-4bd4-9812-d9e710d44f42" target="_blank" class="external" rel="nofollow">download link</a> on Microsoft for SharePoint Designer 2007.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/sharepoint-designer-2007-is-now-free/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Set the SharePoint Welcome Page through code</title>
		<link>http://www.praveenmodi.com/set-the-sharepoint-welcome-page-through-code/</link>
		<comments>http://www.praveenmodi.com/set-the-sharepoint-welcome-page-through-code/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 05:11:06 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[Change the SharePoint Welcome page]]></category>

		<category><![CDATA[Set SharePoint Welcome Page]]></category>

		<category><![CDATA[Set the SharePoint Default Page Programmatically]]></category>

		<category><![CDATA[Set the SharePoint Default Page through code]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/set-the-sharepoint-welcome-page-through-code/</guid>
		<description><![CDATA[You might end up with this requirement quite often to set your custom page as a welcome page for site/subsite instead of default.aspx provided by SharePoint. 
Its quite a tedious job to set up default pages manually when you have more than 10 site/subsites. Its pretty easy to do it programmatically. Here is how: 
public [...]]]></description>
			<content:encoded><![CDATA[<p>You might end up with this requirement quite often to set your custom page as a welcome page for site/subsite instead of default.aspx provided by SharePoint. </p>
<p>Its quite a tedious job to <a href="http://office.microsoft.com/en-us/sharepointserver/HA101577851033.aspx" target="_blank" class="external" rel="nofollow">set up default pages manually</a> when you have more than 10 site/subsites. Its pretty easy to do it programmatically. Here is how: </p>
<pre class="csharpcode"><span class="kwrd">public</span> <span class="kwrd">static</span> <span class="kwrd">void</span> SetDefaultPage(SPWeb web, <span class="kwrd">string</span> pageName)
{
    <span class="kwrd">if</span> (PublishingWeb.IsPublishingWeb(web))
    {
    PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web); 

    <span class="rem">//Get the file name</span>
    SPFile welcomeFile = web.GetFile(pageName);
    <span class="rem">//Assign the new filename to the DefaultPage property</span>
    publishingWeb.DefaultPage = welcomeFile; 

    <span class="rem">//Update the Publishing Web.</span>
    publishingWeb.Update();
    }
} </pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #f4f4f4;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Remember to pass the full relative path to the pageName. For example, pageName should be &quot;/Subsite/Pages/MyNewWelcome.aspx&quot; if your welcome page resides in a Page library of the subsite.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/set-the-sharepoint-welcome-page-through-code/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Programmatically Delete all items from a SharePoint List</title>
		<link>http://www.praveenmodi.com/programmatically-delete-all-items-sharepoint-list/</link>
		<comments>http://www.praveenmodi.com/programmatically-delete-all-items-sharepoint-list/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 04:38:29 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[CodePlex SPPurgeList Tool]]></category>

		<category><![CDATA[delete items from sharepoint list]]></category>

		<category><![CDATA[programmatically purge sharepoint list items]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/programmatically-delete-all-items-sharepoint-list/</guid>
		<description><![CDATA[At times we want to delete all the items from a SharePoint List. Here are some excellent solutions to delete all the SharePoint list items efficiently. 
Below is the PurgeList method from Keith Richie which does an excellent job of Purging items in a list. Here is a CodePlex tool and&#160; one more solution to [...]]]></description>
			<content:encoded><![CDATA[<p>At times we want to delete all the items from a SharePoint List. Here are some excellent solutions to delete all the SharePoint list items efficiently. </p>
<p>Below is the PurgeList method from <a href="http://blog.krichie.com" target="_blank" rel="nofollow" class="external">Keith Richie</a> which does an excellent job of Purging items in a list. Here is a <a href="http://www.codeplex.com/sppurgelist" target="_blank" class="external" rel="nofollow">CodePlex tool</a> and&#160; <a href="http://code.msdn.microsoft.com/SharePointListDelete" target="_blank" class="external" rel="nofollow">one more solution</a> to deal with the same problem. </p>
<pre class="csharpcode"><span class="rem">/// &lt;summary&gt;</span>
<span class="rem">/// Purges items and folders from a list</span>
<span class="rem">/// Define WSSV3 to remove list folders</span>
<span class="rem">/// &lt;/summary&gt;</span>
<span class="rem">/// The SPList you want to</span>
<span class="rem">/// purge items from</span>
<span class="kwrd">private</span> <span class="kwrd">static</span> <span class="kwrd">void</span> PurgeList(SPList list)
{
Console.WriteLine(<span class="str">&quot;Purging list: &quot;</span> + list.Title);
Console.WriteLine(<span class="str">&quot;Base Type: &quot;</span> + list.BaseType.ToString());

<span class="rem">// ===========================================================</span>
<span class="rem">// list.ItemCount returns a count that includes all items</span>
<span class="rem">// &quot;AND&quot; folders.</span>
<span class="rem">// You can't use list.Items.DeleteItemById() to remove a</span>
<span class="rem">// folder</span>
<span class="rem">// ===========================================================</span>
System.Collections.Hashtable hItems =
<span class="kwrd">new</span> System.Collections.Hashtable(list.ItemCount);

<span class="rem">// ===========================================================</span>
<span class="rem">// SPList.Items returns all list items in the entire list</span>
<span class="rem">// regardless of folder containment</span>
<span class="rem">// Note, just because list.ItemCount includes folders,</span>
<span class="rem">// list.Items does not.</span>
<span class="rem">// ===========================================================</span>
<span class="kwrd">foreach</span> (SPListItem item <span class="kwrd">in</span> list.Items)
hItems.Add(item.ID,<span class="kwrd">null</span>);

<span class="rem">// Remove the list items</span>
<span class="kwrd">foreach</span> (<span class="kwrd">int</span> ID <span class="kwrd">in</span> hItems.Keys)
list.Items.DeleteItemById(ID);
<span class="rem">// Clear the hashtable</span>
hItems.Clear();
<span class="rem">// ===========================================================</span>
<span class="rem">// SPList.Folders returns all folder items in the entire list</span>
<span class="rem">// regardless of parent folder containment</span>
<span class="rem">// ===========================================================</span>
<span class="kwrd">foreach</span> (SPListItem item <span class="kwrd">in</span> list.Folders)
hItems.Add(item.ID,<span class="kwrd">null</span>);

<span class="rem">// Remove the folder items</span>
<span class="kwrd">foreach</span> (<span class="kwrd">int</span> ID <span class="kwrd">in</span> hItems.Keys)
{
list.Folders.DeleteItemById(ID);
}
}</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #f4f4f4;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/programmatically-delete-all-items-sharepoint-list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SharePoint - Add IntelliSense when editing CAML files in WSS v3 / MOSS 2007</title>
		<link>http://www.praveenmodi.com/sharepoint-add-intellisense-when-editing-caml-files-in-wss-v3-moss-2007/</link>
		<comments>http://www.praveenmodi.com/sharepoint-add-intellisense-when-editing-caml-files-in-wss-v3-moss-2007/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 00:31:22 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[add IntelliSense when editing CAML file in WSS MOSS 200]]></category>

		<category><![CDATA[Create SharePoint Site Structure Programmatically]]></category>

		<category><![CDATA[Free SharePoint Tools]]></category>

		<category><![CDATA[IntelliSense not working when editing CAML file in Shar]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/sharepoint-add-intellisense-when-editing-caml-files-in-wss-v3-moss-2007/</guid>
		<description><![CDATA[After years of developing code using VS.NET IntelliSense feature its pretty painful to write CAML (Collaborative Application Markup Language) in XML files where IntelliSense is not available by default.
 
However now there is a workaround to get IntelliSense for CAML by linking it to the right XSD file. Even better John Holliday recently released a [...]]]></description>
			<content:encoded><![CDATA[<p>After years of developing code using VS.NET IntelliSense feature its pretty painful to write CAML (Collaborative Application Markup Language) in XML files where IntelliSense is not available by default.</p>
<p> <span id="more-147"></span>
<p>However now there is a workaround to get IntelliSense for CAML by linking it to the right XSD file. Even better <a href="http://johnholliday.net/" target="_blank" class="external" rel="nofollow">John Holliday</a> recently released a free tool <a href="http://johnholliday.net/post/2009/01/18/Feed-your-CAML-some-IntelliSense-so-it-doesnt-bite-you-in-the-you-know-what!.aspx" target="_blank" class="external" rel="nofollow">CAML.NET</a> to solve this problem and provides additional features.</p>
<h4>Option 1: Fix IntelliSense by creating a reference to wss.xsd</h4>
<p> 
<p>This solution will load the XSD whenever a new XML file referencing it is opened. </p>
<p>Open the Catalog.xml file from the VS.NET installation folder. If you are using VS.NET 2008 Catalog.xml will be available in C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas.</p>
<p>To create a new reference to wss.xsd, copy and paste the code below:</p>
<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">Schema</span> <span class="attr">href</span><span class="kwrd">=&quot;C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/12/TEMPLATE/XML/wss.xsd&quot;</span>

<span class="attr">targetNamespace</span><span class="kwrd">=&quot;http://schemas.microsoft.com/sharepoint/&quot;</span> <span class="kwrd">/&gt;</span></pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>Restart your Visual Studio.NET instance and and you will have IntelliSense available when working with CAML files.</p>
<h4>Option 2: Install John Holliday&#8217;s CAML.NET IntelliSense tool </h4>
<p></p>
<p>I am using this tool from last 3 weeks and finding it very useful when editing CAML files. It provide more extensive IntelliSense than you get with reference the wss.xsd(Option 1). </p>
<p><a href="http://johnholliday.net/post/2009/01/18/Feed-your-CAML-some-IntelliSense-so-it-doesnt-bite-you-in-the-you-know-what!.aspx" target="_blank" class="external" rel="nofollow">CAML.NET IntelliSense tool</a> extend the core schemas in two ways: </p>
<ul>
<li>Gather as much information as possible about each element and attribute and place it into xs:annotation elements so that it pops up in context while editing; and </li>
<li>Identify and replace as many xs:string types as possible with enumerated types so the valid values for each attribute also popup in context while editing. </li>
</ul>
<p>CAML.NET IntelliSense <a href="http://code.msdn.microsoft.com/camlintellisense/Release/ProjectReleases.aspx?ReleaseId=2212" target="_blank" class="external" rel="nofollow">download</a> package includes an MSI installer that copies the extended schemas into the local Visual Studio schema cache, so all you have to do is run the installer and then close and re-open Visual Studio.&#160; The current version handles both Visual Studio 2005 and 2008.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/sharepoint-add-intellisense-when-editing-caml-files-in-wss-v3-moss-2007/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SharePoint - Add or Delete Site Column reference from Content Types</title>
		<link>http://www.praveenmodi.com/sharepoint-add-or-delete-site-column-reference-from-content-types/</link>
		<comments>http://www.praveenmodi.com/sharepoint-add-or-delete-site-column-reference-from-content-types/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 06:58:30 +0000</pubDate>
		<dc:creator>Praveen Modi</dc:creator>
		
		<category><![CDATA[SharePoint]]></category>

		<category><![CDATA[Create SharePoint Site Structure Programmatically]]></category>

		<category><![CDATA[MOSS 2007]]></category>

		<category><![CDATA[Sharepoint add site column reference from content type]]></category>

		<category><![CDATA[Sharepoint delete site column reference from content ty]]></category>

		<guid isPermaLink="false">http://www.praveenmodi.com/sharepoint-add-or-delete-site-column-reference-from-content-types/</guid>
		<description><![CDATA[Content type does not contain a column, or field. It only contains a reference to a site column or field. Therefore you should create a site column before you can add it to the content type definition. 
 
The field reference in content type are managed through SPFieldLink object. 
Add field reference from Content Type:
public [...]]]></description>
			<content:encoded><![CDATA[<p>Content type does not contain a column, or field. It only contains a reference to a site column or field. Therefore you should create a site column before you can add it to the content type definition. </p>
<p> <span id="more-144"></span>
<p>The field reference in content type are managed through <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldlink.aspx" target="_blank" rel="nofollow" class="external">SPFieldLink</a> object. </p>
<p><strong>Add field reference from Content Type:</strong></p>
<pre class="csharpcode"><span class="kwrd">public</span> <span class="kwrd">static</span> <span class="kwrd">void</span> AddFieldRefToContentType(SPContentType contentType, SPField field)
{
    <span class="rem">//Check if the Field reference does not exists already </span>
    <span class="kwrd">if</span> (!contentType.Fields.ContainsField(field.Title))
    {
         contentType.FieldLinks.Add(<span class="kwrd">new</span> SPFieldLink(field));
         contentType.Update();
    }
    <span class="kwrd">else</span>
    {
         <span class="rem">//Do Nothing</span>
    }
}</pre>
<p><b>Delete field reference from Content Type:</b> </p>
<pre class="csharpcode"><span class="kwrd">public</span> <span class="kwrd">static</span> <span class="kwrd">void</span> DeleteFieldRefFromContentType(SPContentType contentType, SPField field)
{
    <span class="rem">//Check if the Field reference exists</span>
    <span class="kwrd">if</span> (contentType.Fields.ContainsField(field.Title))
    {
         contentType.FieldLinks.Delete(field.Title);
         contentType.Update();
    }
    <span class="kwrd">else</span>
    {
         <span class="rem">//Do Nothing</span>
    }
}</pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>Check <a href="http://msdn.microsoft.com/en-us/library/aa543680.aspx" target="_blank" class="external" rel="nofollow">MSDN</a> information for more details on Field and Field References.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.praveenmodi.com/sharepoint-add-or-delete-site-column-reference-from-content-types/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
