Archive for the ‘MOSS’ Category

Create event handler for specific list


Introduction: In this article I will describe that how to create event handler for specific list using sharepoint feature. Here I will take example of Item Added & deleting action event. On added event, we will add item description and on deleting event, we will not allow to delete.

April 29, 2012 · Infoyen · No Comments
Tags: , , ,  · Posted in: Event Handler, MOSS, SharePoint

Feature receiver in sharepoint


In this article I will describe that how to write custom feature receiver. This is very helpful when we are required to perform some action while activating feature. To explain this functionality In this I will modify site title on feature activation and remove site title on feature deactivation.

April 22, 2012 · Infoyen · No Comments
Tags: , , , ,  · Posted in: MOSS, SharePoint

Custom Action Menu in sharepoint


In this article I will describe that how to add custom link on site action menu, List Action menu, Site Setting page, Document library toolbar new menu, Document library action menu, per item drop down.

April 22, 2012 · Infoyen · One Comment
Tags: , , , , , ,  · Posted in: MOSS, SharePoint

Feature in SharePoint


Features Microsoft Windows SharePoint Services features are collections of logically related items and operations that can be added to and used repeatedly across site definitions. Advantage: Features reduce versioning and inconsistency issues that can arise among front-end Web servers. Feature activating or deactivating functionality in the course of a SharePoint deployment easier.

April 22, 2012 · Infoyen · No Comments
Tags: , , , ,  · Posted in: MOSS, SharePoint

Delete selected Items from sharepoint list programmatically


Introduction There are few ways to delete item from sharepoint list, however I like the way to perform ProcessBatchData method (approach 1 in this article) which seems faster to me. Here I am going to explain about 2 approaches in which we will  use SPListItem.Delete or SPWeb.ProcessBatchData method. My example will delete items from list if […]

April 18, 2012 · Infoyen · 8 Comments
Tags: , , , , , , ,  · Posted in: List, MOSS

Get web collection count for read permission


Issue:- For one of requirement; I had to get subwebs and lists of current site for current user. To do so I just used “SPWeb.Web.Count”  and it works well for admin. But for reader it throws access denied exception. If we see in debug mode then error detail would be like below:- threw an exception […]

April 16, 2012 · Infoyen · No Comments
Tags: , , , , ,  · Posted in: MOSS, Security, SharePoint, Tips & Tricks

Create and deploy user control in sharepoint using feature


Introduction In this article I will describe that How to create and deploy user control in sharepoint using feature. Create User Control Brief:  We will create a very simple ASP.NET user control (.ascx) which will just display “Hello World”. To load this control in sharepoint we will create a generic webpart which can load any […]

April 11, 2012 · Infoyen · 2 Comments
Tags: , , , , , , , , ,  · Posted in: MOSS, SharePoint, WebPart

Fully Featured WebPart in SharePoint


Introduction In this article I am going to explain you that how to create web part properties which is also called as fully featured webpart. Web Part Property: The first thing that you can do to enhance your Web Parts is add properties to your Web Part classes. This allows you to provide either Web […]

April 9, 2012 · Infoyen · No Comments
Tags: , , , , , , , , , , , , ,  · Posted in: MOSS, SharePoint, WebPart

Create WebPart in sharepoint


Introduction In this article I am going to explain you that what is web part in share point and how to create it. Definition: A Web Part, also called a Web Widget, is an ASP.NET 2.0 server control which is added to a Web Part Zone on Web Part Pages by users at run time. […]

April 1, 2012 · Infoyen · One Comment
Tags: , , , , , , ,  · Posted in: MOSS, SharePoint, WebPart

User Profiles in SharePoint Object Model


Introduction In this article I am going to explain you that How to use User Profiles and profile properties in Sharepoint Object model. In SharePoint 2007, a userid is uniquely identified by his/her username. The username is Tied to the membership provider that the site is configured to authenticate against. A user can also have […]

March 28, 2012 · Infoyen · 8 Comments
Tags: , , , , , , , , , , , , , ,  · Posted in: MOSS, Security, SharePoint


myworldmaps infoyen