fbpx

Monthly Archives: April 2011

By | April 13, 2011

Create sub site programmatically in SharePoint 2010

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...

By | April 13, 2011

Modify web.config settings on feature activation in SharePoint

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...

By | April 4, 2011

Embed YouTube video in SharePoint 2010

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...