#list-view-command-set 3 articles
- ListViewCommandSet button never appears — raiseOnChange() does not re-run onListViewUpdatedgotchas / spfxTwo independent causes: uploading a new .sppkg registers the extension on no site by itself (register it at runtime, or deploy it tenant-wide with the all-sites tick), and raiseOnChange() re-reads command.visible…
- Reading the modern list selection from the DOM — names only, and the count liesgotchas / spfxOnly a ListViewCommandSet gets selectedRows; from the DOM take names only (the name is a button, not a link), resolve paths with one folder-scoped call, and take the real count from clearSelectionCommand because the…
- SPFx adds Subresource Integrity to a script when the manifest path is { path, integrity }gotchas / spfxA component manifest you pass to SPComponentLoader.loadComponent can carry an SRI hash per script resource as path { path, integrity }; SharePoint then emits script integrity crossorigin=anonymous and the browser…