I am trying to create SharePoint Modern UI Pages in library other than Site Pages Library like Document Library and Pages Library but with no success.

Also I don't see any way to create another Site Pages Library.

Is there anyway to create Modern UI Pages in other library without writing any code?

1 Answer 1


Firstly, make sure you have activated "Site Pages" feature at site feature level.

Then go to the library that you want to create modern pages, and go to Library settings->Advanced settings->"Allow management of content types", set Yes.

Then click "Add from existing site content types", select content type from "Document content type" and select "Site Page" to add. Click OK: enter image description here

After that, you can create modern page via New->Site Page: enter image description here

  • Thank you for the answer. But the new sitepage is created in SitePages Library not in the document library. Jan 5, 2018 at 7:07
  • 1
    You can add the content type in the desired document library. Jan 5, 2018 at 9:14
  • This doesn't work even with the site page content type added. Another Msft mess.
    – matt
    Feb 25, 2020 at 22:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.