How to edit the Welcome drop-down menu in Sharepoint 2010
1. Create an Empty Sharepoint Project
2. Create an Element
Now you need to create an element to attach to your feature, to do that right-click on the project and add a new item, then choose “Empty Element“. Dont forget to give it a Name. and put the below code in that Element file<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id ="CustomMenu_MyInformation" GroupId="PersonalActions" Location="Microsoft.SharePoint.StandardMenu" Sequence="1000" Title="My Information" Description="View and Update my Information" ImageUrl="_layouts/images/icon_contactlist.gif"> <UrlAction Url="/SitePages/My%20Information.aspx"/> </CustomAction> </Elements>
3.Deploy solution.
now you custom menu will be ready to use....
Comments
Post a Comment