Add custom menu to Site Actions in Sharepoint 2010

So today’s SharePoint mission is adding a custom menu to the Site Action, this custom menu will link to a custom setting page (ordinary aspx page module).

After googling for a while I found a good solution here.

Basically it’s just creating a new SharePoint Project.  Adding an Empty Element and replace the Elements.xml into this.

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="">
  <CustomAction Id="SiteActionsToolbar"
     Title="My Settings"
     Description="My Site Settings"
     <UrlAction Url="_layouts/mylayout/mypage.aspx"/>

Make sure you add the element to a Feature.

And that is all .

See the detailed solution here.



  1. Gurudatta · June 14, 2012

    Good post for beginners. Thank you.

  2. pocket square · March 31, 2013

    I was suggested this blog by my cousin. I am not
    sure whether this post is written by him as no one else know such detailed about my
    difficulty. You are wonderful! Thanks!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s