Programmatically creating a field (column) from the Custom field type in WSS 3.0 – MOSS

Many of you might have programmatically created the fields in the list or Site (Site Columns) using the SharePoint object model. As long as you are creating the field based on the OOB field types then it’s just a cake walk like follows : (The code snippet shows the sample of Windows Application)   SPSite…


How to Customize (Add, Delete or Replace ) the "Site Action" menu items in Publishing site

The "Site Action" menu items in the SharePoint are rendered by the "CustomAction" feature framework. The story remains same untill the "Publishing Infrastructure Feature" is activated… When the publishing feature is activated and the site becomes SharePoint Publishing site then the datasource for the "SiteAction" menu items are rendered from the XML file which resides…


Customizing the List Toolbar Template – WSS 3.0 & MOSS

SharePoint Rendering Templates All the rendering Templates for the List are defined in the defaulttemplates.ascx in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES folder. This defaulttemplates.ascx control defines the toolbar controls and the form controls for every list template. The following table explains the rendering template Id and the respective List templates it associated with….


Custom Site Definition for collaboration portal template SharePoint 2007 !! Wow MOSS !!

Hey I knew how to create custom site definition and created custom site definitions for a top level team site and a custom site definitions for Custom Serach Centre and the documents centre. Hurray !!! But how can i integrate all these three definitions into a single portal template so that one can choose the…


About “CreatedModifiedInfo” web control in SharePoint

In SharePoint custom web application development sometimes we required to fetch the "CreatedBy" and "ModifiedBy" information and show it in the custom page we develops. Instead of writing a SharePoint object model code to fetch the value of "CreatedBy" and "ModifiedBy" information we can make use of an OOB web control which fetches the CreatedBy…


BDC Connection and Mappings for Profile Import

Recently I worked with a customer in which we have worked with them on a 1:MANY mapping for a BDC profile to map the columns from data base to a Multi value BDC profile property. I have given them a brief explanation about BDC profile import and their connections. It might be useful for your…


How to create a custom view page with custom web part in the list definition , Bend it !!

The view pages for the list are created based on the “ViewPage.aspx” in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\Pages. The ViewPage.aspx inserts the DataFormWebpart to display the items in the View. Now What if you have a custom web part in which you want to display the items in the view and wants to…


Word macros in the custom template for the document library disappears once document saved – SPS 2003 / MOSS

I have came across an interesting integration of Smart Documents with the SharePoint Document libraries through the custom template. I thought of sharing this with you guys. As long as you are using the OOB template.docx then we never worried about the document templates and its behavior but when we are using the custom templates…


"Standard View, with Expanded Recurring Events" is missing in the custom calendar created from the custom calendar list definition. Bend it through custom ToolBar !!

I have came across another interesting issue with the custom calendar list definition last week.   As the SharePoint doesn’t consider your custom list definition as the “Events” type it doesn’t give you the option to create “Standard View, with Expanded Recurring Events” while creating the view for your custom calendar.   Again the SharePoint…


SPSearch.asmx doesn’t return results when integrated with Search server 2008

Last week I came across a very weird issue that the client application for Search using the SPSearch.asmx web service is not returning any result in WSS 3.0 environment. I investigated the client application and the Query Packet built within it and for my bad everything is perfect and I couldn’t find any breakthrough or…