Hide the “SharePoint Designer Settings” link in the Site Collection Settings Programmatically

Relates to: SharePoint  2010, SharePoint Designer

Sometimes you want to hide the “SharePoint Designer Settings” link in the Site Collection Settings to prevent new users from discovering it and playing around with it. To hide this link, you need to create a feature scoped at the site collection. In the Elements.xml file, you can hide the custom action for the SharePoint Designer settings:

<?xml version=”1.0″ encoding=”utf-8″?>

<Elements xmlns=”http://schemas.microsoft.com/sharepoint/“>

<HideCustomAction

GroupId =”SiteCollectionAdmin”

HideActionId =”SharePointDesignerSettings”

Id =”HideSharePointDesignerSettings”

Location =”Microsoft.SharePoint.SiteSettings”>

</HideCustomAction>

</Elements>

If you also want to set the site collection SharePoint Designer settings programmatically, you should check out this post.

Advertisements

One Response to Hide the “SharePoint Designer Settings” link in the Site Collection Settings Programmatically

  1. Rajan says:

    thanks..helpful post…

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

%d bloggers like this: