Create sub site programmatically in SharePoint 2010 13 April 2011 Sometime we require creating a sub site programmatically in code. Here is the simple way you can create a sub site programmatically. (SPSite site = new SPSite(http://siteCollectionUrl)) { using (SPWeb...
Modify web.config settings on feature activation in SharePoint 13 April 2011 In SharePoint 2010 there is a way to modify web.config settings file. You need to use SPWebConfigModification class which is a part of Microsoft.SharePoint.Administration namespace. This class allows...
Embed YouTube video in SharePoint 2010 4 March 2011 Some time you need to add YouTube videos in your SharePoint site pages, it is very simple to implement. I’m going to show step by step how to embed YouTube...
Using join with CAML in SharePoint development 29 March 2011 You can use the SPQuery.Join property in CAML to querying SharePoint lists data. The each join is represented by a join element (which is child of Joins element)....
How to setup auto site deletion feature of SharePoint 2010 25 March 2011 Step by step procedure to set SharePoint up to automatically cleans out unused sites: Step # 1: Central admin navigates to Application Management —–> Site Collections ——> Confirm...
SharePoint 2010 Server Name and Alternate Access mapping 25 March 2011 The “Server Name” mapping and “Alternate Access” mapping are two features of SharePoint which provides to alter the URL’s returned in search results. A very common practice is...
Create meeting workspace pages programmatically in SharePoint 25 March 2011 You can add meeting workspaces pages with the SharePoint UI and also manage them. It is also possible that you can create workspace pages programmatically. Here is the code...
Web analytics service application provisioning in SharePoint 2010 25 March 2011 Hi, I am going to show you that how to provision web analytics service application in SharePoint 2010. To accomplish this task you need to follow these steps...
Activate hidden Site Directory template in SharePoint 2010 20 March 2011 If you are working with SharePoint 2010 enterprise features, You probably know that the Site Directory template is missing, The site directory is hidden because of compatibility issue...