Forum Discussion
Filtering News with multiple Content Types
Evan Bentley As far as I know, in the news web part, you can only show pages of the type "News". It does not support any other Content Types. If you need to Show pages based on different types of content types I recommend that you use the web part called "Highlighted Content" instead.
Regards, Magnus
MagnusGoksoyrOLDProfile Hey Magnus, not quite - a News item is just a page with the Site Page content type (or a child content type) with the 'Promoted State' field set to 2 (or 1 in draft I think)
I considered using the highlighted content web part but I would ideally like to keep to the news/promote functionality for ease of use
- MagnusGoksoyrOLDProfileAug 15, 2019Bronze Contributor
Evan Bentley Yes i am aware of that but since the only Page Property you can filter on, by default, is Title and like You say, only News Pages. You cannot show other Content Types in this web part.
However a (not so pretty but functional) workaround and/or an optional solution for You /if You prefer to use the News Web Part) is to always create pages from the News web part and then to Filter on different types of News (in one or more News Web parts), you can create additional Site Columns in the Site Pages Library and modify the Filter settings on the News Web Part.
1. Create a new Site Column that You want to be able to filter on
Create a new Site Column that You want to be able to filter on
2. Create a News Page, edit the Properties of it and select a value from the Site Column you created
Edit the Properties on the News Page and select a value from the Site Column you created
3. Edit the News web part so that in only shows the chosen category
Edit the News web part so that in only shows the chosen category
4. The Web part will now only show News Pages based on the filter You have chosen
The Web part will now only show News Pages based on the filter You have chosen
Otherwise the solution is to use the "Highlighted Content".
Best regards, Magnus