SOLVED

Filtering news pages and showing them in list/library in SharePoint

%3CLINGO-SUB%20id%3D%22lingo-sub-2237673%22%20slang%3D%22en-US%22%3EFiltering%20news%20pages%20and%20showing%20them%20in%20list%2Flibrary%20in%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2237673%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20making%20a%20news%20site%20for%20our%20non%20profit%20organisation.%20When%20you%20post%20a%20news%20Sharepoint%26nbsp%3B%20creates%20an%20aditional%20page.%20I%20want%20to%20make%20a%20library%20so%20people%20can%20browse%20and%20shearch%20just%20news%20pages%20on%20the%20same%20site%20where%20the%20most%20resent%20news%20are%20showing%20in%20webpart.%20Is%20this%20possible%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2237673%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2239287%22%20slang%3D%22en-US%22%3ERe%3A%20Filtering%20news%20pages%20and%20showing%20them%20in%20list%2Flibrary%20in%20SharePoint%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2239287%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1009245%22%20target%3D%22_blank%22%3E%40Untuvakana%3C%2FA%3E%26nbsp%3Byou%20can't%20add%20news%20pages%20into%20a%20separate%20library%2C%20SharePoint%20will%20always%20add%20them%20to%20the%20Site%20Pages%20library.%20But%20when%20you%20add%20the%20news%20web%20part%20and%20publish%20news%20there%20is%20a%20See%20all%20link%20at%20the%20top%20right%20of%20the%20webpart%20which%20opens%20a%20page%20with%20just%20the%20news%20pages%20and%20has%20a%20Search%20News%20box%20at%20the%20top.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%221-SeeAllLink.png%22%20style%3D%22width%3A%20781px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267604i4F503FE5946AE838%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%221-SeeAllLink.png%22%20alt%3D%221-SeeAllLink.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%222-SeeAllandSearch.png%22%20style%3D%22width%3A%20817px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267606i5042B92A3AC51B30%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222-SeeAllandSearch.png%22%20alt%3D%222-SeeAllandSearch.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20other%20thing%20you%20can%20do%20is%20to%20display%20the%20Promoted%20State%20column%20in%20your%20Site%20Pages%20library%2C%20filter%20the%20pages%20on%20that%20column%20and%20select%202%20(news%20items%20are%20always%20published%20with%20a%20Promoted%20State%20of%202.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22filterPromotedState.png%22%20style%3D%22width%3A%20943px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267610iE7416C9A23308035%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22filterPromotedState.png%22%20alt%3D%22filterPromotedState.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20copy%20the%20url%20in%20the%20address%20bar%20and%20add%20the%20link%20onto%20your%20homepage.%20Your%20url%20will%20look%20something%20like%20this%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22urlPromotedState.jpg%22%20style%3D%22width%3A%20862px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267609iA0EB7FC77BE9F64D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22urlPromotedState.jpg%22%20alt%3D%22urlPromotedState.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%23006400%22%3EMicrosoft%20Power%20Automate%20Community%20Super%20User%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I'm making a news site for our non profit organisation. When you post a news Sharepoint  creates an aditional page. I want to make a library so people can browse and shearch just news pages on the same site where the most resent news are showing in webpart. Is this possible?

1 Reply
best response confirmed by Untuvakana (Occasional Contributor)
Solution

@Untuvakana you can't add news pages into a separate library, SharePoint will always add them to the Site Pages library. But when you add the news web part and publish news there is a See all link at the top right of the webpart which opens a page with just the news pages and has a Search News box at the top.

1-SeeAllLink.png

 2-SeeAllandSearch.png

The other thing you can do is to display the Promoted State column in your Site Pages library, filter the pages on that column and select 2 (news items are always published with a Promoted State of 2.

filterPromotedState.png

 

The copy the url in the address bar and add the link onto your homepage. Your url will look something like this:
urlPromotedState.jpg

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User