Archive for April, 2012
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.
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.
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: Adding Link to Document Library Toolbar Actions Menu, Adding Link to Document Library Toolbar New Menu, Adding Link to Per Item Dropdown, Adding Link to Site Action menu, Adding Link to Site Settings, MOSS, SharePoint ¬∑ Posted in: MOSS, 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.
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: Delete a List Item Programmatically, delete selected items in SPList, Deleting List Items, Deleting List Items programmatically, MOSS, SharePoint, SPListItem.Delete, SPWeb.ProcessBatchData ¬∑ Posted in: List, MOSS
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: access denied exception, MOSS, RunWithElevatedPrivileges, SharePoint, SPWeb.Webs.Count, User With read Permission ¬∑ Posted in: MOSS, Security, SharePoint, Tips & Tricks
Experts on SharePoint Live This time microsoft is providing¬†wordwide online event between 24-April to 26-April on share point webart. Microsoft Experts on SharePoint¬†present to you sessions on¬†Web Parts. Dont miss it.¬†Hurry up guys.. Registration already closed.
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: Adding and Deploying a User Control in a WebPart with VSeWSS, Deploy a User Control in SharePoint, Deploying user controls in MOSS 2007, Developing and Using Web User Controls as WebParts, Developing Web Part using Web User Control., generic webpart to load user control, MOSS, SharePoint, sharepoint web part development, The best practice to deploy user control to sharepoint ¬∑ Posted in: MOSS, SharePoint, WebPart
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: Create Custom Web Part in SharePoint, Creating a SharePoint 2007 Web Part with Custom Properties, Custom Properties in a SharePoint web part, Custom Web Part Properties, Developing and Deploying Custom Web Parts for SharePoint, Developing Sharepoint 2007 Custom Web Parts, How to add Custom Properties to Custom Web Parts, How to use Web Part Custom Properties in SharePoint, MOSS, SharePoint, sharepoint web part development, SharePoint: Creating Custom Enterprise Search Web Parts, Web part custom property - dropdown list, Write Custom WebParts for SharePoint 2007 ¬∑ Posted in: MOSS, SharePoint, WebPart
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: Create Custom Web Part in SharePoint, Developing and Deploying Custom Web Parts for SharePoint, Developing Sharepoint 2007 Custom Web Parts, MOSS, SharePoint, sharepoint web part development, SharePoint: Creating Custom Enterprise Search Web Parts, Write Custom WebParts for SharePoint 2007 ¬∑ Posted in: MOSS, SharePoint, WebPart