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=”वेबसाइट”

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=”सच्चा”

Title=”मेरा ब्लॉग”

Description=” ”

Sequence=”1″>

<UrlAction Url=”http://www.mstechblogs.com/sharepoint “/>

</CustomAction>

</Elements>

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

एक उत्तर दें छोड़ दो

आप का उपयोग कर सकते हैं इन HTML टैग

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