Skip to main content

Cloud

Adding a menu item to the Welcome Menu

To add an item to the Welcome menu in MOSS.
Create a feature.
Feature xml should like:
<?xml version="1.0" encoding="utf-8"?>
<Feature Id="GUID"
Title="Welcome menu Item"
Description=""
Version="1.0.0.0"
Scope="Site"
xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests>
<ElementManifest Location="elements.xml"/>
</ElementManifests>
</Feature>
Elements.xml should look like:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction Id="PersonalActionsMenu_UniqueName"
GroupId="PersonalActions"
Location="Microsoft.SharePoint.StandardMenu"
Sequence="101"
Title="YOUR TITLE "
Description="DESCRIPTION"
ImageUrl="YourImageURL">
<UrlAction Url="YOUR_URL"/>
</CustomAction>
</Elements>
Now use stsadm to install and activate the feature.
Voila!
The location attribute of CustomAction element is the key for the item to show up. If you have filled up the xml correctly, then you should be able to see the menu rendered correctly.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Amol Ajgaonkar

More from this Author

Follow Us