Thiyagalingam Prashanth

Thursday, August 07, 2008

How to create new SharePoint Feature?

1. Create a new folder, called “MyListUserFeature”,
in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES
2. Create an Xml file, called “feature.xml” in the “MyListUserFeature” folder
3. Edit the feature.xml file and add the following content


4. Create an Xml file, called “ListUsers.xml” in the “MyListUserFeature” folder
5. Edit the file and add the following content



6. Install the new feature by running the following command
Stsadm –o installfeature –filename MyListUserFeature\feature.xml
7. Activate the new feature by running the following command
Stsadm –o activatefeature -filename MyListUserFeature \feature.xml -url
http://siteurl

Now you will see the new menu item in the "Site Settings" of the site that you installed the feature.

0 Comments:

Post a Comment

<< Home