Forum Discussion
kglashagel
Dec 14, 2021Copper Contributor
News Post location
I have a facility hub site that is a communication site. We have quite a number of permanent pages within the site that are related to various aspects of the facility and the business. We also are us...
JohnJDB
Copper Contributor
Hi Rob, How do you get PromotedState? I can't see it listed in the Filter section? Cheers
Rob_Elliott
Jun 26, 2023Bronze Contributor
JohnJDB select column settings -> show/hide columns then select the Promoted State column and click Apply, after which you can filter by the Promoted State value:
- JohnJDBJun 27, 2023Copper Contributor
Hi Rob_Elliott
I've done that
but whilst I can see the Promoted state in the filter view, I can't add it when editing the view and adding it to the filter as the field doesnt show.
- SusanHanleyJun 27, 2023MVP
JohnJDB You will need to create the view from the "modern" experience in the Site Pages library. Open the Site Pages library view that shows Promoted State. Use the column to filter on Promoted State = 2 (and 1, which is are unpublished news posts). Then select Save As and call the view News.
- JohnJDBJun 27, 2023Copper ContributorI thought I did that but I cant see the Promoted State, so had to use a workaround by creating a calulated field as shown in the youtube video.
How could I check that I've creating the view from the "modern" experience in the site pages library?
I do note that when I look at the view it says "This view uses classic filters that you can view and edit here". I just clicked on the top right view menu and selected "Create new view".
THanks!
- JohnJDBJun 27, 2023Copper ContributorI followed this work around. I guess using a calculated field is ok, unless there are 1000s of pages... 🙂 Thanks for your tip!
https://www.youtube.com/watch?v=-x_r_ki52qM