A quick note -
possibly "note to self" - about how you can add administration pages
to central administration ("CA").
Start with an empty
SharePoint project.
Add a mapped folder
- to Template/admin.
Add an application
page to this folder. This is a three
step process; add the page, move it from
the layouts folder (where Visual Studio decided that you really wanted it), and
rename the namespace.
Next you'll want to
add this page to CA. Do this by adding a custom action group and a custom
action. Cksdev supports both, and you'll find better information about this
elsewhere. I wanted my page to appear under "General application
settings" so for my action group I chose
"Location="Microsoft.SharePoint.Administration.GeneralApplicationSettings"". The UrlAction should point to your admin page.
<CustomAction Description="Specify the settings for the Contoso module at web application level"
Title="Web application settings"
GroupId="Contoso.Administration.Settings"
Id="Contoso.RequestModule.WebApp.Settings"
Location="Microsoft.SharePoint.Administration.GeneralApplicationSettings"
RequireSiteAdministrator="true"
Sequence="1000"
>
<UrlAction Url="_admin/Contoso.Administration/CollaborationWebAppSettings.aspx" />
</CustomAction>
The empty page is
probably not what we want.
Break open one of
the existing admin pages under C:\Program Files\Common Files\Microsoft
Shared\Web Server Extensions\14\TEMPLATE\ADMIN to get an idea of how you should
do this.
You'll need a
<table> inside the body placeholder, you may want a
WebApplicationSelector and a ButtonSection, and you will certainly need an
InputFormSection - mostly to give it the same look and feel as the builtin CA
pages.
Hope this helps -
even if it only helps a future me. :-)