Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is it possible to manage content types for the Site Pages library in the browser? If this is not possible, what's the rationale that this can be done in nearly every library and list, but not Site Pages?


migrated from stackoverflow.com Oct 12 '11 at 20:07

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 1 down vote accepted

No, it is not possible. The OnLoad event of the Advanced Settings page hides the Content Types section with the following code:

this.ContentTypeSection.Visible = this.List.AllowContentTypes 
    && this.List.BaseTemplate != SPListTemplateType.UserInformation 
    && this.List.BaseTemplate != SPListTemplateType.WebPageLibrary;

I do not know the reason why it is protected, but it is definitely explicitly singled out along with the User Information list. That said, you might be able to set ContentTypesEnabled using code. But you will likely be in unsupported territory if you do so. If possible, you may want to consider using Publishing Pages, as those support multiple content types.


I think they want you to use the Enteprise Wiki functionality if you want Content Types and Wiki pages. The Enterprise Wiki functionality uses the Publishing Pages library (unlike ordinary Wiki pages that use the Site Pages library) and the Pages library has Content Type management enabled for the whole Page Layout Publishing architecture to work.


This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .