Archive for May, 2012

Event receiver for specific list

Introduction In this post we will see how we can attach event receiver for specific list in SharePoint 2010. In general coders tend to write event receiver which is global for all the lists. In the event receiver code they will compare with the list name and then provide specific functionality. In this post we […]

May 19, 2012 · Adi · No Comments
Tags: ,  · Posted in: Lists, Sharepoint 2010

Adding Web Part to Page with PowerShell

Introduction In this post we will see a generic function to add a Web Part from local drive to a page in a particular Web Part zone using PowerShell script The script include Reading Web Part details from config file Check out the page Adds Web Part to the page Check in the page Approve […]

May 14, 2012 · Adi · 19 Comments
Tags: , , , , , , ,  · Posted in: Packaging and Deployment, Powershell, Uncategorized

Web Part icons in SharePoint

Introduction In this post we will see one of the ways to enhance look and feel of the Web Parts with which Web Parts will be more identifiable. It also make Web Parts more professional. Using icon is one of the good feature to enhance web part look and feel.

May 13, 2012 · Adi · No Comments
Tags: , , ,  · Posted in: Sharepoint 2010

Security context in SharePoint 2010

Introduction In this article we will see various security concepts in SharePoint 2010. There are three main aspects which we have to understand SPContext RunWithElevatedPrivileges AllUnsafeUpdates

May 12, 2012 · Adi · No Comments
Tags: , ,  · Posted in: Sharepoint 2010

Web Part verbs in SharePoint 2010

Introduction In this post we will see what are Web Part verbs in SharePoint 2010 and how we can use it. Web Part Verb is user command that will be rendered in the Web Part menu that will be rendered on the right side of the title bar.

May 12, 2012 · Adi · No Comments
Tags:  · Posted in: Sharepoint 2010

SharePoint 2010 Tip 5 – Go to edit page quickly

Tip – Go to edit page quickly When ever we want to edit page or to add a webpart to page, it takes some clicks and loading. This will certainly take time especially if it is SharePoint 2010 it takes time to load page and to load the ribbon. There is a quick way with […]

May 3, 2012 · Adi · No Comments
Tags: ,  · Posted in: Sharepoint 2010, Tips and Tricks

SharePoint Online Overview

Introduction In this post we will have an overview on SharePoint Online. SharePoint Online is part of Office 365 features. Office 365 is the only web based service fully compatible with Microsoft Office. It has same feature set as a traditional on-premise solution.

May 3, 2012 · Adi · No Comments
Tags: ,  · Posted in: Sharepoint 2010, SharePoint Online

SharePoint 2010 Tip 4 – View log files

Tip – View log files in SharePoint If we want to observe the logs in SharePoint, there is a good tool which provides information of the logs in a user friendly manner.

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

SharePoint 2010 Tips – 3

Tip – Restrict page content from crawling In SharePoint we can control search indexing (crawling) within a page by using a div class named “noindex”.

May 1, 2012 · Adi · No Comments
Tags: ,  · Posted in: Sharepoint 2010, Tips and Tricks

Deploying WSP with Powershell

Introduction In SharePoint 2010 if we want to deploy the wsp; we will just right click the project and select deploy. SharePoint will take care of deploying with the given settings. But,we can’t deploy the package in the same way in other environments like UAT, PreProduction or Production (unless you are a super user having […]

May 1, 2012 · Adi · One Comment
Tags: , , , , , , ,  · Posted in: Packaging and Deployment, Powershell, Sharepoint 2010, Sharepoint Deployment