The below sample feature creates new menu item in Site Actions menu, Please replace the GUID in the below code.
Sample Feature File
<?xml version=”1.0″ encoding=”utf-8″?>
<Feature
Id=”<GUID>”
Title=”Custom Menu Item”
Description=” ”
Version=”1.0.0.0″
Scope=”Site”
Hidden=”False” xmlns=”http://schemas.microsoft.com/sharepoint/”>
<ElementManifests>
<ElementManifest
Location=”elements.xml” />
</ElementManifests>
</Feature>
Sample Elements file
<?xml version=”1.0″ encoding=”utf-8″?>
<Elements xmlns=”http://schemas.microsoft.com/sharepoint/”>
<CustomAction Id=”"
GroupId=”SiteActions”
Location=”Microsoft.SharePoint.StandardMenu”
RequireSiteAdministrator=”TRUE”
Title=”My Blog”
Description=” ”
Sequence=”1″>
<UrlAction Url=”http://www.mstechblogs.com/sharepoint “/>
</CustomAction>
</Elements>


Popular Articles