| One of the new things I learned when I created the TimerJobOverview solution was to make use of the OperationsPage class.. remember that I talked about creating ApplicationPages and that you should inherit from the LayoutsPageBase or UnsecuredLayoutsPageBase? Well in the case you are developing application pages that will only be available in the Central Admin webapp you have two more choices to choose from : - OperationsPage
- ApplicationsManagementPage
I googled on this pages and found the following interesting blogpost from Paul Shkurikhin called : Creating and customizing SharePoint 2007/MOSS Central Administration Application Pages “.. Both OperationsPage and ApplicationsManagementPage classes overrides just one PageToRedirectOnCancel property from GlobalAdminPageBase…” I was wondering when I first created my Application Pages how pages in the Application Management and Operations tab knew where to redirect to when you clicked on Cancel and this explains why.. ;) Next to that you also get some nice properties you can set as well: - AccessibleBySharePointAdminGroup
- DefaultContentDatabaseName
- PageToRedirectOnMissingPageParameter
- RequiredPageParameters
And these methods - RedirectToApplicationManagementPage
- RedirectToOperationsPage
- RedirectToErrorPage
So if you are going to create Application Pages that will reside within ApplicationManagement or the Operations tab I should recommend on using these pages and make use of the cool properties and methods that are in there! Technorati Tags: SharePoint |