Skip to content

SPFx list command sets | Update refresh list content #9342

Open
@Tanddant

Description

@Tanddant

What type of issue is this?

Question

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

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

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

  • Version 119.0.6045.160 (Official Build) (64-bit)
  • Any (1.18.1)
  • Node.js version v16.20.0

Issue description

I'm not really sure where to post this, but @VesaJuvonen linked me here during a ESPC Hot Seat Session

When building SPFx list command sets, I can update a list item via my code, but I cannot force the list to "re-render" - there used to be a hack where I could trick the DOM to "invalidate" the list contents, and force SP to update the list, but that no longer works, so my only option is to reload the entire page, creating a very 2005ish web experience ... and come on it's 2023, we should be able to build sleek web solutions.

Awesome work you're doing SPFx 🙌

Metadata

Metadata

Assignees

Labels

area:spfxCategory: SharePoint Framework (not extensions related)area:spfx-extensionsCategory: SharePoint Framework Extensionstype:questionQuestion... if answered, will be tagged as such.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions