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

less than 1 minute read

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