How to Create Custom Menu Item in Site Actions

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=”Website”

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>

1 comment to How to Create Custom Menu Item in Site Actions

  • hi, thank you for this astonishing information. Therefore, I would like to ask for your accept to add some of this information in my blog. Auðvitað, I will provide a link to your website, as a source of my quoted information.

Skildu eftir svar

Hægt er að nota þessi HTML tög

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>