Author Archive
SharePoint Development Tools
The following is the list of tools that I happen to use during Sharepoint Development. These tools help the SharePoint developers to do their work efficiently.
Visual Studio Extensions for Windows SharePoint Services 3.0 Tools
Tools for developing custom SharePoint applications: Visual Studio project templates for Web Parts, site definitions, and list definitions; and a stand-alone utility [...]
Running Code with Elevated Privileges
During custom development in Sharepoint, sometimes your code must call restricted methods within the Windows SharePoint Services object model even though the request is initiated by a non privileged user. In such cases you must be able to elevate the privilege of your code as it executes on web server. Meaning, instead of your code [...]
How to log errors to SharePoint Log file
When you work with share point custom code development such as Web parts, Features, Event Handlers, and Workflows etc., you can use the Sharepoint built in logging mechanism to log the errors instead of creating custom logging mechanism.
In SharePoint, log files are located at C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOG
To log errors/messages/exceptions to the [...]
MOSS 2007 limitations list for acceptable performance
If you are planning for big Sharepoint (MOSS 2007) Implementations, consider these limitations and guidelines for the best Sharepoint (MOSS 2007) Implementation.
The following table lists the recommended guidelines for site objects.
Site object
Guidelines for acceptable performance
Scope of impact when performance degrades
Site collection
50,000 per content database
Farm
Site collection
150,000 per Web application
Farm
Web site
250,000 per site collection
Site collection
Subsite
2,000 per Web [...]
SharePoint Screencasts and Visual Howto’s
A huge list of Visual Howto’s related to Microsoft Office SharePoint Server 2007 is available @ http://msdn.microsoft.com/en-us/office/aa940989.aspx.Office Visual HowTo’s provide instruction, code examples, and short how-to videos
If you are new to Sharepoint 2007, take a look at the following screencasts series.
Building ASP.NET Web Parts for Windows SharePoint Services 3.0
Creating a Custom Page Layout with [...]
Accessing Lists through Sharepoint Object model
Is accessing the list taking more time…
Consider the following while accessing the list through Object model
SPWeb.GetList(string url)
In this case, first it gets the list GUID from the url(database hit), then it loads the Meta data for that specific list.
SPWeb.Lists[“name”]
This method loads the meta-data information of the all lists for the SPWeb object under consideration. and [...]
Sharepoint internet facing sites
My list of nicely built Internet facing SharePoint sites goes here .
These sites are really amazing and were built on SharePoint.
http://www.ferrari.com/
http://www.swissarmy.com/
http://www.eastman.com/
http://www.choosechicago.com/
http://www.kroger.com/
http://www.westernaustralia.com/
https://www.flybuys.co.nz/
http://www.energizer.com/
How to enable verbose mode logging in SharePoint
To enable verbose mode logging follow the below steps:
a. Go to SharePoint Central Administration Page
b. Select Operations and select Diagnostics logging under Logging and Reporting
c. In diagnostic logging page, select the Verbose mode and click on ok
Note:
1) It is not advisable to turn the verbose mode logging on. Turn it off once the required log is collected.
2) Sometimes Windows SharePoint [...]
