SOLVED

How To Create Library For Site Pages

%3CLINGO-SUB%20id%3D%22lingo-sub-831522%22%20slang%3D%22en-US%22%3EHow%20To%20Create%20Library%20For%20Site%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-831522%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20using%20the%20modern%20Site%20Pages%20to%20publish%20our%20manual%20so%20it%20will%20be%20mobile%20friendly.%20We%20are%20very%20happy%20with%20the%20pages%20and%20how%20they%20present%20on%20a%20phone.%20Is%20there%20a%20way%20to%20create%20a%20document%20library%20that's%20content%20type%20is%20only%20Site%20Pages%3F%20Or%20is%20there%20a%20different%20type%20of%20library%20I%20should%20be%20creating%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-831522%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Econtent%20types%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESite%20Pages%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-832762%22%20slang%3D%22en-US%22%3ERe%3A%20How%20To%20Create%20Library%20For%20Site%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-832762%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F288947%22%20target%3D%22_blank%22%3E%40smithme%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20create%20a%20Document%20Library%20and%20use%20the%20%22Site%20Page%22%20content%20type%2C%20just%20be%20aware%20that%20it%20will%20not%20behave%20the%20same%20way%20as%20the%20default%20%22Site%20Pages%22%20page%20library%20does%20(i.e.%20manual%20page%20renaming%2C%20manual%20check%20in%20etc).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20the%20intent%20of%20the%20%22Site%20Pages%22%20Document%20Library%20is%20to%20consolidate%20certain%20pages%20for%20end%20user%20consumption%20there%20are%20other%20options.%20You%20could%20add%20a%20Site%20Column%20to%20the%20Site%20Pages%20library%20that%20denotes%20the%20category%20and%20build%20a%20view%20based%20on%20the%20site%20column.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F129587iE164FAD2F27BFF39%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EUsing%20the%20same%20Site%20Column%20you%20could%20also%20use%20the%20%22Highlighted%20content%22%20web%20part%20with%20a%20filter%20on%20%22Page%20Properties%22.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20174px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F129588i6137520BA268D7EF%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22Capture1.PNG%22%20title%3D%22Capture1.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20sure%20there%20are%20other%20options.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENorm%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

We are using the modern Site Pages to publish our manual so it will be mobile friendly. We are very happy with the pages and how they present on a phone. Is there a way to create a document library that's content type is only Site Pages? Or is there a different type of library I should be creating?

1 Reply
Highlighted
Best Response confirmed by smithme (Contributor)
Solution

Hi @smithme,

 

You can create a Document Library and use the "Site Page" content type, just be aware that it will not behave the same way as the default "Site Pages" page library does (i.e. manual page renaming, manual check in etc).

 

If the intent of the "Site Pages" Document Library is to consolidate certain pages for end user consumption there are other options. You could add a Site Column to the Site Pages library that denotes the category and build a view based on the site column.

Capture.PNG

Using the same Site Column you could also use the "Highlighted content" web part with a filter on "Page Properties". 

Capture1.PNG

 

I'm sure there are other options.

 

I hope this helps.

 

Norm