Forum Discussion
News Web Part Not Returning Items When Using Managed Property Filter Across Multiple Sites
We are experiencing an issue with SharePoint Online News web parts that are configured to filter items using a managed property, specifically mapped to a RefinableString (RefinableString01) linked to our custom metadata column “Conteúdo Informativo”. Despite the proper mapping and reindexing of the relevant sites, the web part fails to return any items when the number of source sites exceeds 14.
Details:
- The web part is configured to pull news items from a specific set of sites.
- When configured with up to 14 sites, the web part works correctly, displaying all news items that match the filter (RefinableString01:"Notícia:Regional:Aprovada").
- When a 15th site is added to the web part source, the web part stops displaying any items, although the underlying search query returns results correctly when tested via KQL in the search API (_api/search/postquery).
- All sites involved have been reindexed, and the managed property (owstaxIdConteúdox0020Informativo) has been mapped to RefinableString01 as recommended.
- Using the web part configured with the option “All sites in this hub” works correctly and returns all items, but this is not a viable solution because it includes items from sites that should not be part of the filter scope.
Impact:
- Numerous web parts across multiple sites are affected, preventing proper display of news items filtered by metadata.
- The issue appears to be related to the number of sites configured as sources in the web part.
What can be done to solve this issue?
Thank you very much!
4 Replies
- FelipeZaidenCopper Contributor
Some people on another forum suggested that this issue might be caused by the News web part generating query texts that exceed the size limit.
I ran some tests and confirmed that all the web parts having trouble displaying items have a query text exceeding 4096 characters.
What puzzles me is that we started experiencing this issue only last Friday morning. Before that, all of these web parts were working perfectly fine, and no changes were made to their configuration.
In fact, I had two web parts configured to use more than 200 sites as their search scope — all selected manually, not through the “All sites in the hub” option or anything similar. They were using the exact same managed property, which hasn’t been modified in any way. Now, however, I can’t include more than 14 source sites without the query text exceeding 4096 characters.
I’m not a SharePoint expert by any means, so I might be misunderstanding something, but from what I can tell, it seems that the automatic query text generated by the web part — the one used to fetch items according to its configuration — has recently changed, and is now producing much longer queries than before.
Does this make sense? Is there anything I can do to work around this limitation and get my news web parts to display items from multiple sources again?
- DavidDCHCopper Contributor
We also have this issue. I created Microsoft Ticket. They aknowledged the problem and said they working on it.
- Tghh42Brass Contributor
We see the same issue since last week. Filter was working fine before.
- DavidDCHCopper Contributor
Hello
We have the same issue. News Webpart is not returning news when you have more than 14 selected Sites in combination with managed metadata filtering. I created a MS Ticket. They aknowledged the issue and said they are working on it.
What can be done to solve this issue? --> Open a Microsoft Ticket.