Wednesday, October 1, 2008

Activating and Deactivating Features Programmatically

Activating and Deactivating Features Programmatically
Sharepoint Feature Manager.

You can activate/deactivate features using command-line utility called STSADM.EXE. Another approach is to do the same thing using the rich object model of WSS.
Hats off to Patrick Tisseghem for sharing such a wonderfull article. You can get the article here.

This article is good and easy to understand! Patrick Thanks for sharing.

I have added an additional functionality in the utility. This functionality will automatically search for all the sites/sub sites on the Sharepoint Server where this utility will be run.

I have also created a solution for the same. You can download the same from here

SharePoint Feature Manager:

No comments:

Share your SharePoint Experiences with us...
As good as the SharePointKings is, we want to make it even better. One of our most valuable sources of input for our Blog Posts comes from ever enthusiastic Visitors/Readers. We welcome every Visitor/Reader to contribute their experiences with SharePoint. It may be in the form of a code stub, snippet, any tips and trick or any crazy thing you have tried with SharePoint.
Send your Articles to with your Profile Summary. We will Post them. The idea is to act as a bridge between you Readers!!!

If anyone would like to have their advertisement posted on this blog, please send us the requirement details to