Archive for category: MOSS – Object Model

Microsoft Office Sharepoitn Server

A quick look on Sharepoint object model programs

24 September, 2009 (13:11) | MOSS - Object Model, MOSS - Quick Look | By: G Vijai Kumar

Here I am going to show you that the actions which we perform normally with UI, those also can be done programmatically, the same thing I am going to show in this post, this post is mainly targeted for beginners those who are new to Sharepoint object model, a quick watch on programs to create [...]

Sharepoint hit counter web part

15 September, 2009 (11:26) | MOSS - Object Model | By: G Vijai Kumar

On 11th November, 2009 I have published the HitCounter webpart solution on to Codeplex I have made the Hit Counter webpart very compact with minimum lines of code which generates user hits, before adding the webpart to the master page you need to create a Custom List name it as Statistics then create three columns [...]

Copy Sharepoint list items from one site to another programmatically

25 August, 2009 (06:13) | MOSS - Object Model | By: G Vijai Kumar

In my earlier post, I have show you how to Copy items from one list to another, using Sharepoint designer workflow now we learn how to copy list items from one Sharepoint site to another site programmatically Before executing the code I have created two Sharepoint sites, first is http://fivenumber:5/ and the second http://fivenumber:50/ I [...]

Export SPGridView to Excel spreadsheet in Sharepoint 2007

28 July, 2009 (08:38) | MOSS - Object Model | By: G Vijai Kumar

In my last post I have show you how to retrieve current user profile in Sharepoint 2007, before that I have also posted on how to display custom list items in SPGridView Today I am going to work on how to export SPGridView items into Excel spreadsheet in Sharepoint 2007 Most of the code I [...]

Retrieve current user profile in Sharepoint 2007

27 July, 2009 (10:12) | MOSS - Object Model | By: G Vijai Kumar

My last post was about Contact / Feedback webpart for Sharepoint 2007 In this post I am going to show you how to retrieve current user profile and show the properties like Title, First name, Last Name etc. using Microsoft.Office.Server.UserProfiles.UserProfileManager() It is a collection of user profile objects used to access user profile data we [...]