Following are few examples of how to add a new menu to EditControlBlock,SiteSettings Gallary,SiteActions menu.
<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="NewEditItemMenu"
RegistrationType="List"
RegistrationId="101"
Location="EditControlBlock"
Sequence="106"
Title="MY ECB ITEM">
<UrlAction Url="/_layouts/viewlsts.aspx"/>
</CustomAction>
<CustomAction
Id="NewSiteSettingsGallary"
GroupId="Galleries"
Location="Microsoft.SharePoint.SiteSettings"
Sequence="106"
Title="MY ECB ITEM">
<UrlAction Url="/_layouts/viewlsts.aspx"/>
</CustomAction>
<CustomAction
Id="NewSiteActionsMenu"
GroupId="SiteActions"
Location="Microsoft.SharePoint.StandardMenu"
Sequence="106"
Title="MY ECB ITEM">
<UrlAction Url="/_layouts/viewlsts.aspx"/>
</CustomAction>
</Elements>
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment