Archive for June, 2012

Set Welcome page with PowerShell in SharePoint 2010

Introduction It is very common that we want to set our custom page as a welcome page. Its always advisable instead of doing this from UI, provide script that can used in any environments. In this post we will see the script how to set welcome page for a site using PowerShell

June 22, 2012 · Adi · One Comment
Tags:  · Posted in: Powershell, Sharepoint 2010

Timer job errors and solutions in SharePoint

Introduction In this post we will see what the various errors that come while handling Timer Job in SharePoint. These errors are sometime common for many developers but could take time to resolve. Hope this will resolve your errors and save your time. Don’t miss the article how to create Timer job for specific site […]

June 21, 2012 · Adi · 2 Comments
Tags: ,  · Posted in: Sharepoint 2007, Sharepoint 2010

Upload Excel data into SharePiont Custom List using Interop

Introduction In this post we will see how to upload excel data (using office.interop.excel) into SharePoint 2007 / SharePoint 2010 Custom List from object model(c#) You can also check the article how to upload excel data using oledb provider

June 21, 2012 · Adi · One Comment
Tags:  · Posted in: Sharepoint 2007, Sharepoint 2010

SharePoint Tip – View Site Content and Structure

If we want to see the complete Site Content and Structure of the site, there is a quick way to check it out For example we are in the home page http://adisgroup/default.aspx If we want to see the complete site content, subsites and structure just use this link http://adisgroup/_Layouts/sitemanager.aspx?Source={WebUrl}_layouts/settings.aspx We can see the complete structure […]

June 14, 2012 · Adi · No Comments
Tags: ,  · Posted in: Sharepoint 2007, Sharepoint 2010, Tips and Tricks

Upload Excel data into SharePoint Custom List

Introduction In this post we will see how to upload excel data(using oledb provider) into SharePoint 2007 / SharePoint 2010 Custom List from object model(c#) What are the points that are covered Get the sheet name from excel file rather than providing static name Builds connection string for .xls and .xlsx files Reads excel data […]

June 14, 2012 · Adi · 49 Comments
Tags: , ,  · Posted in: Sharepoint 2007, Sharepoint 2010

Timer job in SharePoint for specific site

Introduction In this post we will see how to create Timer job in SharePoint 2007 / SharePoint 2010. What are the points that are covered Creating custom Timer job How to execute Timer job for a specific site (without changes to web config and without any static siteurl) How to pass values to property bag […]

June 13, 2012 · Adi · 6 Comments
Posted in: Sharepoint 2007, Sharepoint 2010