Monday, December 13, 2010

Feature to create new section and link in settings.aspx in sharepoint 2007



Add Custom Section in settings.axpx as a feature

Step 1:

Navigate to the Features directory on your web server:
c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES

Step 2:

Create a new folder and rename it “Custom Section” (name can be anything).

Step 3:

Create two xml files of following name
1. Feature.xml
2. ElementManifest.xml (Can be any name)





















Step 5:

You are now ready to install the new Feature on the web server. Open a Command Prompt and enter the following:
Change directories to the BIN folder in the 12 hive so you can use STSADM.exe:
cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
Launch STSADM and install the feature:
stsadm -o installfeature -name YourFeatureDirectoryName

Step 8

Activate the feature from Site collection feature from site setting.




No comments:

Post a Comment