Forum Discussion
Multiple news web parts with a filter on a homepage
- Oct 11, 2018
I had a support ticket that is closed now. They admitted it is a bug and have elevated it to the developers. I found that I could use the filter on a modern team site, but not on a communications site. We had our intranet launch so had to do so without filtering out our news.
bogeorge We gave up since it was it was not working correctly. Now we have all the news in one Web part - But we use the feature on the web part edit to organize the news so the most important goes to the top. I also attended a session/lab at the SP Conference in May about site pages/designs and got some ideas from the people actually working on the pages. This is a great reference https://sharepointlookbook.azurewebsites.net/
I think they are working on improving this since some of the people gave them feed back on this.
Carol DeMuth& MartinDAZN I finally got to the bottom of my particular issue. I was actually using the PnP Provisioning Engine to update home pages, including adding News web parts with filtering. What I ultimately discovered is that there are 2 different News web parts. One is a "Newsfeed" webpart and then there is a newer "News" webpart. The older "Newsreel" was being added via PnP rather than newer "News" which was added via the UI. It seems the newer version works with filtering and the old does not. There is a nifty querystring you can add ?maintenancemode=true that allows you to see all the web part properties, json etc that helped in some of this troubleshooting.
I ended up writing a blog post on my particular saga and in it I also linked to some GitHub issues I logged with the PnP Site Core in case you want to read up more on my journey to solve my issue.
https://threewill.com/pnp-provisioning-news-filtering-api-troubleshooting/