Thursday, November 22, 2012

add custom link and custom group in sharepoint site settings page using feature

Create a empty sharepoint solution vs2010-> new Project-> Empty Sharepoint 2010 solution Add New Fature Right click on "Feature" Add new feature Add New Item-> select "Empty Element" You'll get Element.xml file in the project Add Following xml to the Elements.xml

<?xml version="1.0" encoding="utf-8"?>

<Elements xmlns="">



    Title ="PolicySignOff"

    Sequence="1000" Location="Microsoft.SharePoint.SiteSettings"








     Title="PolicySignOff Settings">





here "Custom Action Group" tag will add new group in the site settings page. "Custom Action" will add new custom link. We need to mention the custom Group and Location in the tag. For default sharepoint Group id's and link's check here. Add following xml in feature.xml file

<feature activateondefault="TRUE" alwaysforceinstall="TRUE" autoactivateincentraladmin="FALSE" description="Will create a link for PolicySignOff Settings" hidden="FALSE" id="{GUID}" imageurl="dhq_icon.png" scope="Site" title="{Title}" xmlns="">


    <elementmanifest location="{Elemnts.xml location}">




You need to activate the feature. You'll get custom group and custom links in site settings page.

Share this