Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » SharePoint 2003   (RSS)

SharePoint 2007 Maximum Limitations

Following is a list of names and other parameters with the maximum allowable size on each. Entity Max Permissible Size Site Name 128 characters Site URL 255 characters Display name 128 characters Connection string 384 characters Email address 128 characters

Recycle Bin.. Continued..End Game

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);

Recycle Bin.. Continued

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'

Recycle Bin.. Continued

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

Recycle Bin.. Continued

The second class for the second event handler: /*===================================================================== File: EventSinkData.cs Summary: Class to collect data for the event sink. ---------------------------------------------------------------------

Recycle Bin.. Continued

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

Recycle Bin.. Continued

/*===================================================================== File: EventSinkData.cs Summary: Class to collect data for the event sink. --------------------------------------------------------------------- using System; using System.Xml; using

Recycle Bin

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

Musings...

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.

Listless

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

Trustworthy!!

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

Area 51

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

Digging the content index

Touring the Content index with the Object model

Programmatically adding a List with custom fields

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

SPListItem.Update()

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.
 
Page view tracker