Hiding the "New Site" option in the Site Actions menu – SharePoint 2010

A long time ago I wrote an article about hiding the create site action within the site actions menu for SharePoint 2007. Within SharePoint 2010 you hide the custom actions the same way. Only finding the Id’s is a little bit different. In the preceding article I stated that you can find the id’s within the source of the page. This is still true but some of them can only be found within the Master Page. The table below display’s all custom actions with the Id’s of the actions.


Custom action ID
Edit Page MenuItem_EditPage
Sync to SharePoint Workspace MenuItem_TakeOffline
New Page MenuItem_CreatePage
New DocumentLibrary MenuItem_CreateDocLib
New Site MenuItem_CreateSite
More Options MenuItem_Create
View All Site Content MenuItem_ViewAllSiteContents
Edit in SharePoint Designer MenuItem_EditSite
Site Permissions MenuItem_SitePermissions
Site Settings MenuItem_Settings

Related Posts

SharePoint Rest API Handler SharePoint contains a lot of Rest API’s that can be used for many scenario’s. You could use them for example in desktop and windows phone applications...
User automatically removed from SharePoint Group During my current project we received an access request from a user. We did what we normally do, we checked the request and added the user in the appr...
Warm Up Form Based Web Application Normal warm up scripts for SharePoint open a site object or web object and make a request to that specific site. When you use form based authenticatio...
Load modules by default when opening PowerShell At the moment we are working a lot with PowerShell in combination with SharePoint. Over time we created a lot of usable functions that were not availi...
PowerShell Scripts During my current project we are using a lot of PowerShell scripts to administrate the environment and make development easier for us. In this post...
TFS and SharePoint Builds including Automatic deployments – Part 1 Part 1 of this series will instruct how to configure your build server for building SharePoint projects. In Part 2 we will discuss the automatic deplo...


  1. Thanks for these Id. This helps a lot.
    I am in search of one more Id for the “Manage Content and Structure” option that shows up under Site Actions on the parent site. I need to hide this option for certain users.

    If you cuold help out with this, it would be greatly appreciated.



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.