// author archive

Praveen Modi

Praveen Modi has written 23 posts for Tech ++

Programmatically Delete all items from a SharePoint List

If you’re new here, you may want to subscribe to my RSS feed. Thanks for visiting!At times we want to delete all the items from a SharePoint List. Here are some excellent solutions to delete all the SharePoint list items efficiently.
Below is the PurgeList method from Keith Richie which does an excellent job of [...]

SharePoint - Add IntelliSense when editing CAML files in WSS v3 / MOSS 2007

After years of developing code using VS.NET IntelliSense feature its pretty painful to write CAML (Collaborative Application Markup Language) in XML files where IntelliSense is not available by default.

SharePoint - Add or Delete Site Column reference from Content Types

Content type does not contain a column, or field. It only contains a reference to a site column or field. Therefore you should create a site column before you can add it to the content type definition.

SharePoint - Add folders to Document Library programmatically

Today I had a requirement to add folders programmatically to the default ‘Site Collection Images’ document library. Its quite simple and can easily be achieved with few lines of code. Here is a method of how to do that:

Review of: SharePoint Content Deployment Wizard

The SharePoint Content Deployment Wizard from Chris Obrien is a excellent tool for SharePoint 2007 content deployment.

Using STSADM.EXE to Create Empty Site Collection

There are situations when we want to create empty site collection, like when your content deployment job is failing due to conflicting content. In these cases STSADM.EXE comes handy.
STSADM.EXE is the only means to create a completely empty site collection.

List of 10 useful SharePoint Tools from CodePlex

Here are some really useful SharePoint tools available at CodePlex. I have tried some of these tools while others in the list seems to be popular and worth checking.
CodePlex is Microsoft’s open source project hosting web site.

Benefits of using Schema’s in SQL Server 2005/2008

Use of schema’s can significantly simplify the SQL Server design and help build system which is more maintainable and has a security model which is relatively easy to administer.
People who extensively worked with SQL Server 2000 or earlier version often get confused between object owners and schema. To get a better understanding of Schema, lets [...]

Parsing IIS logs with Log Parser 2.2

Last week on Windows Live we had a requirement to verify the number of page views on one specific post. Due to some mismatch in view count on third party tracking and our .net processing mechanism.
As a last resort, we decided to verify the page view count from IIS log.
I took the responsibility of downloading [...]

12 by 2012

As we move into a new year, my thoughts turn to the questions I have often asked myself
- What is the purpose of my life?
- What do I really want to do with it?
As always, I don’t have answers to any of these questions. I don’t know the purpose of my life or what I [...]

    Locations of visitors to this page
View Praveen Modi's profile on LinkedIn

Recent Comments

  • fred: The above mentioned tips are helpful. However, by the use of a third-party caching solution for SharePoint you...
  • Ramiz Uddin: Praveen, I would need your help. I’m new on sharepoint and very much confused with its deployment...
  • Maarten: Hi! I tried your code, it works great. However, I don’t see the created folder in explorer view. How...
  • Praveen Modi: Juan, seems like it should work but I haven’t tried it. I will give it a try and will update the...
  • Juan Larios: couldn’t you just do: SPFolderCollection collection = site.Lists["Site Collection...