Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListView Command Set extension not loading in embedded list view webpart when added to SitePage #10078

Open
2 of 9 tasks
sjoginpally opened this issue Jan 14, 2025 · 0 comments

Comments

@sjoginpally
Copy link

sjoginpally commented Jan 14, 2025

What type of issue is this?

other, SPFx

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

Tested in both chrome and edge

Issue description

When I add a list view command set extension to a site it works just fine in the default list views, but it has suddenly stopped working when you embed a list view in a SitePage. This worked earlier on December 22nd 2024, but suddenly the list view command set is not loading now. None of the default list command bar buttons also show up. The network tab shows no trace of the files associated with the command set and the console does not show any related errors.

There are no difference if I gulp serve the files or just load them from the app catalog - no trace of the files trying to load.

The view is configured with "Show command bar" and the command bar does not show the default list view buttons like Edit in grid view, Share, Export to Excel, Copy link and Delete buttons also. It also does not show the list view command set buttons.

This is tested with the command set extension hello-world example: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api

Steps followed -
Install a command set extension and ensure that it loads in a normal list view.
Embed a list view in a sitepage and observe that the list view command set does not load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant