Raghu's SharePoint Column : SharePoint - My Lifeline!!

Raghu's SharePoint Column

Archive for September, 2008

The easiest way of create solution package (WSP) is by using WSPBuilder. You can download the WSPBuilder.exe from the link provided below. Download WSPBuilder.exe Step 1: Install the wsp builder extensions and create a new project using WSP Builder Project Template Step 2: The project structure will be as show below Step 3: Add a feature to the project, Click Project->Add New Item->Select FeatureWithReceiver and click Add, in a similar way add event handler, The strucutre will be as shown below. Step 4: Perform the coding as requirement and build the project. Inorder to create a wsp file Click Tools->WSP Builder -> Build WSP. A wsp package will be created, the project Read more [...]

Recently i had been into scenario where i have to change the default top navigation menu provided by MOSS OOB to a customized menu. Typically the navigation menu has site tabs. I create the user control Menu and started to Integrate with the master page of the site. I followed the following steps to add a user control to default.master a.       Register the user control b.       Import the namespace of the usercontrol c.      Register the dll of the usercontrol d.      Commented out the sharepoint:aspmenu  contro with id =”TopNavigationMenu” e.      Add my user control in the place of the above commented control f.      Added the dll to the gac g.   Read more [...]

I had run into a scenario where I need to have a lookup column in the same list and many views which are based on the look up column, at first I thought this is simple to implement, but once I started implementing it, I realized that it’s not so simple. I googled on net to find an alternate for my solution, but the soultions didn’t work for me. Before entering the implementation part I would like to disccuss about lookup column archintecutre in list. Lookup column has two important attribute lookup list and the lookup field. Lookup List: Indicates to which list the lookup filed should refer. Lookup Field: Which column or filed need to be refferd or showed from the list specified above. As Read more [...]

How To Create List Programmatically using Custom List Template (OOB) There are many ways to create a list as follows 1. Creating list Using OOB UI. 2. Creating list Using List Templates 3. Creating list Using Features 4. Creating list programmatically or by a code behind approach Programmatically a list can be created by writing a console application or by creating exe. The advantage of creating list programmatically will also help you tp retain lookup column in the same list or some other list. I will be discussing regarding lookup column in my next article This article is written to create a list using out of the box (OOB) custom list template using a code behind approach.The snippet Read more [...]

How To Create List Programmatically using Custom List Template (OOB) There are many ways to create a list as follows 1. Creating list Using OOB UI. 2. Creating list Using List Templates 3. Creating list Using Features 4. Creating list programmatically or by a code behind approach Programmatically a list can be created by writing a console application or by creating exe. The advantage of creating list programmatically will also help you tp retain lookup column in the same list or some other list. I will be discussing regarding lookup column in my next article This article is written to create a list using out of the box (OOB) custom list template using a code behind approach.The Read more [...]