SharePoint Custom Action on Site Settings Page
Asked Answered
W

2

6

I have a Custom Action on the Site Settings page of my SharePoint site that appears in the UsersAndPermissions list. It is created using a feature, this is the elements.xml file for the feature:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction
    Id="SDITeamGroupApplicationPage"
    GroupId="UsersAndPermissions"
    Location="Microsoft.SharePoint.SiteSettings"
    Sequence="1000"
    Title="Create a Team Group">
    <UrlAction Url="_layouts/SDITeamGroupEdit.aspx"/>
  </CustomAction>
</Elements>

Currently all the users of site can see this link on the Site Settings page. I want to be able to restrict who can see this link. Is this possible? How can it be done?

Whitehorse answered 20/10, 2009 at 8:8 Comment(0)
G
6

http://msdn.microsoft.com/en-us/library/ms460194.aspx

Look for the elements called "Rights" and or "RequireSiteAdminstrator" etc.

Here are the list of possible "Rights":

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx

Gallonage answered 20/10, 2009 at 17:16 Comment(0)
F
0

You can create a visual studio solution which uses CustomAction for such requirements.

Here is the step by step instructions to build a visual studio solution which adds new custom link in site settings page: Add a Link to Site Settings Page in SharePoint.

Fico answered 2/8, 2013 at 10:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.