In this blog, we learn about how to
add and edit item into the Welcome drop-down menu in Sharepoint 2010.
To add item into
the Welcome drop-down menu follow below steps:
1.
Create an Empty SharePoint Project
2.
Updating the Solution Feature
3.
Create an Element : for that we need to create
an element to attach to our feature, to do that right-click on the project and
add a new item, then choose "Empty Element".
4.
Edit our element to reflect what we needed.
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id ="CustomMenu_MyProfile"
GroupId="PersonalActions"
Location="Microsoft.SharePoint.StandardMenu"
Sequence="1000"
Title="My Profile"
Description="View and Update my Information"
ImageUrl="_layouts/images/MyProfile.gif">
<UrlAction Url="/SitePages/My%20Profile.aspx"/>
</CustomAction>
</Elements>
5.
Package your Sharepoint Solution
6.
Add and Install your Solution to Sharepoint
7.
Now our menu item is ready, check it out
Product
applies to:
SharePoint Server 2010
SharePoint Foundation 2010
No comments:
Post a Comment