Forum Discussion
Page properties not visible for filtering news webpart
- Jul 25, 2019
stevenam Can you see that each column is associated to the content types in library settings? I would try on a new site and see if the issue is the site itself. I was not able to filter on Yes/No columns in the News web part, but I use choice columns all the time and they work.
Susan_HanleyYes the columns are associated to the content types. The site was created recently, about two weeks ago. So there is no legacy or anything there.
stevenam I would still try again on a new test site. Just to be sure that the site isn’t the issue. If it is the site, you will need to do some additional digging.
- Brendan WeitzmanNov 12, 2020Brass Contributor
William Smith confirming - I had the exact same issue as others in this thread with a column I'd created the old way via Library Settings. I created it as you suggested in the view and this worked for it to show up in the News web part Filter options. Thanks!!
- SusanHanleyMar 23, 2020MVPAdd the column as a site column (Gear > Site information > View all site settings. Go to the Site Pages library. Make sure you are starting from Library Settings (Gear > Library Settings). In the Columns section, select Add from existing site columns. You will see the list of columns you can add. Be sure that in the Options box, Add to all content types and Add to default view are selected.
- PwatersMar 23, 2020Copper Contributor
SusanHanley how do I know if I've added it to all content types? Where would I see this?
- SusanHanleyMar 23, 2020MVPSee my earlier reply. Make sure that you have added the column to all content types. If you have, you should see the column in Page Details on each page.
- PwatersMar 23, 2020Copper Contributor
SusanHanley I'm having a similar issue. I've added a category column on the SitePages, but it doesn't show up on the individual post pages. I'm not sure I've set it up correctly.
- SusanHanleyFeb 25, 2020MVPAre you sure you have added the Site Column to all of the content types in the Site Pages library? Having been burned using list columns as you described, I typically only create Site Columns when I am configuring sites. I use Site Columns to filter news all the time - in multiple tenants. If you add the Site Column to the Site Pages library and leave the box checked to add to all content types, you should be able to filter in the News web part on the Page Property you are using for news.
- William SmithFeb 25, 2020Brass Contributor
stevenam I ran across a potentially related issue. I had created a column (called Page Catagory) to label my various News items, to filter and display on appropriate pages. I created it using the MS described method (within the Pages library, adding on the right side of the All Items view). All worked fine. Then I decided I needed to create that column at the top level of the site so that potential sub-sites (yes, we still have need of these) could also use the column, and I could add it on to my Blog content type. After swapping out the top-level column for the Library-only column, the news filters could no longer see the Page Category column. I recreated the column at the Pages library level (now both columns are there - different names, of course), and I can again filter on the column. I believe MS has a glitch -- only columns created in the Pages library will surface in the News filter.
- stevenamAug 01, 2019Brass Contributor
Susan_HanleyThank you so much for your help. In that case we will recreate the page. I think the problem is somehow related to the changes I made to the contenttypes. Thanks again!
- Susan_HanleyJul 26, 2019MVP
stevenam I would start over with a new site. Something is hosed in your Site Pages library and rather than creating a new one, if it's not too much work, and since you have already proven the problem is not there in a new site, I think the safest route is a new site.
- stevenamJul 26, 2019Brass Contributor
Susan_HanleySo you would advise building a new site? Not just a new library? Recreating is not really a big issue but I want to spend as little time as possible on this. So if recreating a new library will suffice I would obviously go for that option. Will try creating a new library anyway.
- Susan_HanleyJul 26, 2019MVP
Is there a lot of content in the original site? Can you recreate it easily? Do you have a migration tool that you can use to copy the content to a new site? That is probably what I would do at this point - or use a support ticket. (But re-creating might be faster - especially if the site isn’t live yet.)
- stevenamJul 26, 2019Brass Contributor
So I created a test site, custom contenttypes and added them to the Sitepages library. Now the columns show up as a filter. Even deleted the default contenttype for the Sitepages library and the filters still show up.
So how do I move forward on this? I tried deleting and adding the custom contenttypes but no matter what I do I can only pick Title as a filter.