How to add a Link to SharePoint Site Actions Menu?

You can create a Custom link in Site Action Menu using the CustomAction feature code. My Requirement is to add a new link “Support Center” in the Site actions Menu So that all site owners can easily access the SharePoint Support Center site.

  1. Create a folder in 12/14 hive’s features folder, say “Crescent.SharePoint.SupportLink” under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES
  2. Create these two files  update them as per the below content
  3. Install and activate the feature. sharepoint add link to site actions menu

Feature.xml:

<?xml version="1.0" encoding="utf-8" ?>
 <Feature Id="05BA4E54-C1E9-4244-8276-06451EBBB260" Title="SharePoint Support Center Link" Description="Shows Support Center Link in Site Actions Menu" Scope="Site"
         xmlns="https://schemas.microsoft.com/sharepoint/">
 
  <ElementManifests>
  <ElementManifest Location="Elements.xml" />
   </ElementManifests>  
 </Feature>

Elements.xml:

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="https://schemas.microsoft.com/sharepoint/">
 
 <CustomAction Id="SupporCenterLink" GroupId="SiteActions"
          Location="Microsoft.SharePoint.StandardMenu" Sequence="2000"
               Title="Support Center" Description="Go to Support Center for SharePoint Tutors, Requests, FAQs, etc." 
                    ImageUrl="_layouts/Crescent/Images/supportLink.png" >
 <UrlAction Url="https://support.company.com/sharepoint" />
 
 </CustomAction>
</Elements>

Here is the output:

Add Custom Link to SharePoint Site Actions Menu

As a Best practice, pack these XML & Image as a Solution in Visual Studio, So that they can be deployed anywhere. Can read more about the custom action on MSDN: https://msdn.microsoft.com/en-us/library/bb418728.aspx

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

2 thoughts on “How to add a Link to SharePoint Site Actions Menu?

Leave a Reply

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