7 Jun 2012

Extending Site Settings in SharePoint 2010


Extend the site settings available in SharePoint 2010.

You can extend the site settings for SharePoint 2010 using two XML elements, namely CustomAction and CustomActionGroup. The CustomAction element defines a custom link in a menu, whereas the CustomActionGroup element defines a custom section.
You can use these elements as follows:

<CustomActionGroup
Id="Apress.SP2010.myCustomGroup"
Title="My Custom Group"
Description="This is my custom group"
ImageUrl="_layouts/images/SiteSettings_SiteCollectionAdmin_48x48.png"
Location="Microsoft.SharePoint.SiteSettings"
RequiredAdmin="Delegated"
Sequence="1" />
<CustomAction
Id="myFirstAdminAction"
Title="My First Admin Action"
Description="This is a short description of my first admin action."
Location="Microsoft.SharePoint.SiteSettings"
GroupId="Apress.SP2010.myCustomGroup"
Sequence="100" >
<UrlAction Url="˜site/_layouts/sp2010/myFirstAdminPage.aspx" />
</CustomAction>

No comments: