Branded Application Pages (layouts pages) in SharePoint 2010

Posted by Sahil Malik on Win Smarts See other posts from Win Smarts or by Sahil Malik
Published on Sat, 18 Dec 2010 07:59:41 GMT Indexed on 2010/12/18 17:18 UTC
Read the original article Hit count: 327

Filed under:

Ad:: SharePoint 2007 Training in .NET 3.5 technologies (more information).

Application pages are now branded by default in SharePoint 2010. WOOHOO!!!

The DynamicMasterPageFile attribute in SharePoint 2010 master pages allows application pages start using the site’s master page instead of the application master page. If you want backwards compatibility with SharePoint 2007, i.e. you want unbranded application pages, here is what you can do,

a) You can change the MasterPageReferenceEnabled property to false in your SPWebApplication object, or
b) Go to central administration\application management\manage web application\select your web app … go to the ribbon, look for general settings\general settings, and detach application pages from the site’s master page.

I don’t see why you’d ever wanna do that, but hey if you want to .. go for it.

This article was first published on blah.winsmarts.com. Stealing content is not cool.

Safeguarded application pages

Now for the fine print, there is something called as “Safeguarded application pages” in SP2010. These are pages, that IF IN CASE your custom master page screws up, they will automatically revert to use a master page that is guaranteed to work in the _layouts folder. Now that’s nice! That means, if you screw up, you always have a way to fix things. How nice! Here is a list of such safe guarded application pages -

  • AccessDenied.aspx

  • MngSiteAdmin.aspx

  • People.aspx

  • RecycleBin.aspx

  • ReGhost.aspx

  • ReqAcc.aspx

  • Settings.aspx

  • UserDisp.aspx

  • ViewLsts.aspx

Have fun!


Comment on the article ....


© Win Smarts or respective owner

Related posts about SharePoint 2010