Skip to content

List Formatting: PromotedState can no longer be updated via setValue #10597

@tecchan1107

Description

@tecchan1107

Target SharePoint environment

SharePoint Online

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

Declarative list formatting

Developer environment

None

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

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

Additional environment details

No response

Describe the bug / error

Previously, it was possible to update PromotedState using setValue, which allowed converting a news post into a page and vice versa.

Image

However, when testing this now, a update message is displayed, but the value is not actually updated.

Image

Is this a bug, or was there a change in behavior or specification?

Steps to reproduce

  1. Display the Promoted State column in Site Pages.
  2. Apply the promotedstate-demote-news JSON to the column formatting of the displayed Promoted State column.

Expected behavior

The PromotedState column can be updated using setValue, as it was previously.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions