Forum Discussion
yanni99
Dec 16, 2022Copper Contributor
Trying to add a category column in Site Pages from a list when creating pages in Sharepoint
I added a 'Category' column to the 'Site Pages' list. I want the choices for this column to be populated by a list on the same site. I used a lookup column and it works well, but it cannot be used in...
DaveMehr365
Dec 21, 2022MVP
Hello yanni99
i recommend you a solution without lookup columns.
Or what's your use case to use lookup for a category in news?
I prefer to use choice or managed metadata columns in site pages, after that, you can use this columns as page properties for filtering in news web parts. It's easy and included ootb.
But you can't edit the layout of the news web parts.
For customizing the news, you can use PnP Modern Search Web Parts, but you need to customizing your layout. https://microsoft-search.github.io/pnp-modern-search/
Best, Dave