Monday, May 18, 2009

Custom Action link in listedit page in sharepoint

Feature.xml

<Feature Id="90CCFF3E-0874-441b-B430-1920BAF59B08"
Title="My Permission Link"

Version="1.0.0.0"
Scope="Web"
Hidden="false"
DefaultResourceFile="core"
xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests >
<ElementManifest Location="element.xml" />
</ElementManifests>
</Feature>


element.xml

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">

<CustomAction Id="39C18565-C185-4353-8025-E15859E3C4F3"
GroupId="Permissions"
Location="Microsoft.SharePoint.ListEdit"
Sequence="100"
Title="My Permission Link"
>

<UrlAction Url="_layouts/custom/MyRecycleBinItems.aspx" />

</CustomAction>
</Elements>


If you want add link in general settings then add
GroupId as GeneralSettings.