sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SharePoint pages promoted as news from code not appearing in News webpart

Open roberAlb opened this issue 3 years ago • 1 comments

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint CSOM

Developer environment

Windows

What browser(s) / client(s) have you tested

  • [ ] 💥 Internet Explorer
  • [X] 💥 Microsoft Edge
  • [X] 💥 Google Chrome
  • [ ] 💥 FireFox
  • [ ] 💥 Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Additional environment details

  • SPFx version 1.14
  • Node version 14.20.0
  • etc

Describe the bug / error

We have a SPFx webpart that basically is creating News pages that were appearing into the News OOTB webpart. Not sure when, but the pages created are not appearing into OOTB News webpart anymore. I have checked that the news created have PromotedState=2 and they are publish which are the requirements to be display from that webpart.

Steps to reproduce

  1. Create a page with code
  2. Promote it with code updating PromotedState to 2
  3. Publish the page
  4. Check if the page is appearing from News webpart

Expected behavior

If the page has promotedstate to 2 and it is publish, it must appear from News OOTB webpart.

roberAlb avatar Oct 03 '22 10:10 roberAlb

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Oct 03 '22 10:10 ghost

Thank you for your submission. As explained in our wiki (Issue List: What doesn't belong in the issue list), this issue list is for SharePoint developer/development issues. All capability question/discussion questions, or topics related to SharePoint administration & end-user topics should be reported through the support user interface available in the tenant admin settings. You can also have a discussion and ask questions at the SharePoint TechCommunity forum. You can learn more about this in our wiki: type:invalid-not-dev-issue

ghost avatar Dec 27 '22 13:12 ghost