Forum Discussion
Pepozzo
Nov 11, 2019Copper Contributor
Site page with Promoted State=0 still visible in news webpart
Hello! I've changed PromotedState value for a couple of pages setting it to 0. I've made this change about 5 days ago. Today some users have e-mailed me writing that they still can see some n...
O365Developer
Nov 12, 2019Brass Contributor
Hi,
You need to Demote the page ,so it will be disappeared from news webpart and search results
I don't have the Powershell handy right now,from my memory you can get the Clientsidepage using
Get-PnPClientSidePage and then demoteAsNewsArticle() which will actually updated the promoted state and first published date.
make sure you save the page using .Save() and .Publish() methods.
That should work!!