Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
Search
Archives
Archives
May 2008
(1)
February 2008
(1)
September 2007
(1)
March 2007
(4)
February 2007
(1)
January 2007
(3)
October 2006
(1)
August 2006
(3)
July 2006
(2)
June 2006
(2)
May 2006
(2)
March 2006
(2)
November 2005
(1)
October 2005
(9)
September 2005
(2)
August 2005
(2)
July 2005
(2)
June 2005
(3)
Tags
ActiveSync
CE
Everything else
FBA
FileIO
Introductions
MOSS
Pages
Pocket PC
SharePoint 2003
SSO
Vista
Windows Mobile
WSS
Common Tasks
Blog Home
Email Blog Author
About
RSS for posts
RSS for comments
Tagged Content List
Blog Post:
Recycle Bin.. Continued..End Game
Harsh Chiplonkar
After all this, one thing still remains - the javascript function mentioned in the install instructions. So here goes. <script language=javascript> function Custom_AddDocLibMenuItems(m, ctx) { var RootFolder = GetRootFolder(ctx); setupMenuContext(ctx); if (currentItemFileUrl == null) currentItemFileUrl...
on
16 Oct 2005
Blog Post:
Recycle Bin.. Continued
Harsh Chiplonkar
Setup instructions A) Setting up the configuration 1) Copy the xml files 'Configuration.xml' and 'TrashConfiguration.xml' to the location 'C:\Sharepoint\' 2) Open the file 'Configuration.xml' in notepad and make a note of the values for 'Mirror', 'Recycle' and 'Main'. 3) In the 'Configuration...
on
16 Oct 2005
Blog Post:
Recycle Bin.. Continued
Harsh Chiplonkar
Project Structure: Handler 1: Handles Upload(insert) and Delete events , Name: DocLibrary -------------- BaseEventSink.cs (from the first post) -------------- EventSinkData.cs(from the second post) Handler 2: Handles the Restore event (which is in fact the insert event again), Name: WasteBasket...
on
16 Oct 2005
Blog Post:
Recycle Bin.. Continued
Harsh Chiplonkar
The second class for the second event handler: /*===================================================================== File: EventSinkData.cs Summary: Class to collect data for the event sink. --------------------------------------------------------------------- using System; using...
on
16 Oct 2005
Blog Post:
Recycle Bin.. Continued
Harsh Chiplonkar
Now that we have handled the Upload and Delete events, let us handle the Restore event . Implemented in a class library which contains similar classes as the earlier library. Again we have a BaseEventSink class which is extended from the default available with the event handler toolkit and the EventSinkdata...
on
16 Oct 2005
Blog Post:
Recycle Bin.. Continued
Harsh Chiplonkar
/*===================================================================== File: EventSinkData.cs Summary: Class to collect data for the event sink. --------------------------------------------------------------------- using System; using System.Xml; using System.Xml.Serialization;...
on
16 Oct 2005
Blog Post:
Recycle Bin
Harsh Chiplonkar
With v2 of Sharepoint, restoring deleted documents was a much sought after elixir. And to that effect were made a number of attempts at coaxing the product to allow us to retain copies of the deleted items. Once such simplistic approach was documented and well presented by Maxin V Karpov and Eric Schoonover...
on
16 Oct 2005
Blog Post:
Musings...
Harsh Chiplonkar
Its been quite some time since I consciously dug out time to write something here. The past couple of months have been a helluva time. I started with getting the feelers on office 12 and then the whole bunch of technological challenges that throws up. Most of my time has been spent just getting to know...
on
26 Sep 2005
Blog Post:
Listless
Harsh Chiplonkar
This is something really silly. Any list that is a part of a site can be accessed by using a small snippet that looks more or less like this: SPSite site = new SPSite(http://localhost"); SPWeb web = site.OpenWeb(); SPList list = web.Lists[index]; Now lets say you want to add an item to an ordinary list...
on
4 Aug 2005
Blog Post:
Trustworthy!!
Harsh Chiplonkar
The other day I landed on a very interesting issue. Before I break in the solution, let me just try and explain the problem the way it came in. Well, there was this guy who had created a custom web part to fetch a report from some database. He was supposed to be using a SQL database in production...
on
2 Aug 2005
Blog Post:
Area 51
Harsh Chiplonkar
This started of as another one of those weird things. Well, so here goes. Problem: Accessing the news listing through the Object Model. Solution : // get the reference SPSite site = new SPSite(“http://localhost”); // this will point to the portal URL SPWeb web = site.OpenWeb(); // get the context PortalContext...
on
25 Jul 2005
Blog Post:
Digging the content index
Harsh Chiplonkar
The content index is one of the most sought after parts of Sharepoint. Search is one of the most popular and also one of the most mystical of Sharepoint features. So it goes without saying that accessing the content index is like chasing a dream. But before you start jumping with glee, there is absolutly...
on
29 Jun 2005
Blog Post:
Programmatically adding a List with custom fields
Harsh Chiplonkar
When a list is created programmatically using a custom template, the custom fields do not get displayed in the UI. These fields do not become a part of the displayed fields of the default view. The Problem - A common task like uploading a file to a list that was created programmatically using...
on
27 Jun 2005
Blog Post:
SPListItem.Update()
Harsh Chiplonkar
Now thats a funny title. This is something I worked on quite recently. Consider a scenario where you are trying to access a number of lists programmatically. The issue I dealt with was concerned with lists in a recurring event of a metting workspace. But subsequent research revealed that this is a generic...
on
16 Jun 2005
Page 1 of 1 (14 items)