Skip Ribbon Commands
Skip to main content

Robin | zevenseas | SharePoint Blog

:

The zevenseas Community > Blogs > Robin | zevenseas | SharePoint Blog > Posts > OperationsPage & ApplicationsManagementPage
July 26
OperationsPage & ApplicationsManagementPage

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:

Comments

Jeroen Ritmeijer

Top, that one is going straight into our Free SharePoint development Guidelines at http://www.muhimbi.com/blog/2009/05/muhimbis-sharepoint-development.html
System Account on 27/07/2009 01:42

Robin

Thanks Jeroen! I'm actually flattered ;)
System Account on 27/07/2009 02:25
 

 Statistics

 
Views: 1336
Comments: 2
Tags:
Published:922 Days Ago