0

I am trying to create a publishing page (with a system-provided page layout, Article) in SharePoint 2013's SitePages document library. SharePoint shows the create page screen, where it asks for the page layout and file name, but shows the wrong document library: always Pages instead of SitePages, even if I came from SitePages, and it actually shows in the URL; I cannot change it because it is a text literal, not a selector control. Then, when I click create, I get an exception about an invalid value. All of the publishing features are active, the document library has the right content types and they show up in the add file option. ULS logs just show the exception, no relevant information. What could be wrong?

  • 1
    Site pages are the library that are used without the publishing feature. The pages are added when the feature is activated and it's from here you are supposed to create your new pages. While it's possible to add the pages content type to the site pages library, i think it's a bad idea. – Christoffer Jun 5 '15 at 7:52
  • Thanks, why did you add a comment instead of an answer? – Ricardo Peres Jun 5 '15 at 7:56
  • Because i never explain why you shouldn't do this. :) – Christoffer Jun 5 '15 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.