Forum Discussion
News Web Part Filter Not Available
I am using the news web part pulling news from multiple site collections and hub site collections. I would like to filter based on a column i've added to those site collection page libraries but the filter option is only appearing when the News Source is "This Site".
Is the option to filter the news from multiple site collections not available and only available from within the site you're on?
I think the ability to filter on news across site collections is supposed to be coming at some point. What you can do now is use the Highlighted Content web part to pull in news articles from multiple site collections and then filter on a managed property. When I need to do this, I create a managed metadata property that I use on all of the sites I want to roll up and then map each property to an available managed property in the search schema (e.g. RefinableString05). Then I can filter the news based on that shared property - but for now, only in the Highlighted Content Web Part.
16 Replies
- athars21Copper Contributor
dmowry Hi Experts,
I have created a new managed property from the tenant settings -> Schema -> Managed properties,
now have a query - how to map/use this to make it available in the Site Pages library for news.
The ideal goal is to filter the web part with a custom property (which is available on current site but not on selected site)
thank you
- sthieuCopper Contributor
I found this article was useful in setting up my own managed properties for filtering (follow option 2)
https://regarding365.com/expiring-news-across-modern-sharepoint-b4dd8bbb52d1
- Deepu NairCopper Contributor
This is something that I would like to get as a feature. I've created a user-voice for the same.
I think the ability to filter on news across site collections is supposed to be coming at some point. What you can do now is use the Highlighted Content web part to pull in news articles from multiple site collections and then filter on a managed property. When I need to do this, I create a managed metadata property that I use on all of the sites I want to roll up and then map each property to an available managed property in the search schema (e.g. RefinableString05). Then I can filter the news based on that shared property - but for now, only in the Highlighted Content Web Part.
- M365061290Iron Contributor
Does alias name appear in high lighted content webpart or you need to use RefinableString
You need to use RefinableStringxx.
- dmowryCopper Contributor
The trouble I have with Highlighted Content is that it doesn't provide the same layout options as the News web part. Is there anyway to add layouts to the highlighted content web part?
- Not at this time.
- Yes, you are basically correct...you can apply a filter in the News WebPart when you want to show news that have been created in the current site