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

Command set extension is no longer visible in the context menu (ECB) #10121

Open
2 of 9 tasks
GuidoZam opened this issue Feb 18, 2025 · 6 comments
Open
2 of 9 tasks

Command set extension is no longer visible in the context menu (ECB) #10121

GuidoZam opened this issue Feb 18, 2025 · 6 comments
Labels
area:spfx Category: SharePoint Framework (not extensions related) area:spfx-in-lists type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Comments

@GuidoZam
Copy link
Contributor

Target SharePoint environment

SharePoint Online

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

💥 SharePoint Framework

Developer environment

Windows

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

  • browser version
    • Microsoft Edge: Version 132.0.2957.140 (Official build) (64-bit)
    • Google Chrome: Version 132.0.6834.196 (Official Build) (64-bit)
  • SPFx version: 1.20.0
  • Node.js version: v18.17.1

Describe the bug / error

In my company we are using the ListView Command Set to display commands both in the command bar and in the context menu. Suddenly the commands in the context menu (ECB) are not visible anymore in a client production environment without any updates of our SPPKG file.

Using Yeoman generator I've created a sample solution based on the default template for the ListView Command Set extension. Then changed the custom action location to ClientSideExtension.ListViewCommandSet and run gulp serve. The commands does show up in the command bar but does not display in the context menu, I've tried it even in another tenant with no luck.

Updating the custom action location to either ClientSideExtension.ListViewCommandSet.ContextMenu or ClientSideExtension.ListViewCommandSet.CommandBar seems to have no consequence, the commands still show up in the command bar, no matter what value we provide for location, and not in the context menu.

Steps to reproduce

  1. Create a new SPFx solution (v. 1.20.0) for a ListView Command Set
  2. Change the location of the commands to ClientSideExtension.ListViewCommandSet
  3. Execute gulp serve
  4. The commands are present in the command bar but not in the context menu

Expected behavior

I would expect the SPFx extension to keep working as before. When specifying the location as ClientSideExtension.ListViewCommandSet the commands should be displayed in both the command bar and the context menu as stated in the Microsoft learn documentation.

@GuidoZam GuidoZam added the type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. label Feb 18, 2025
@GuidoZam
Copy link
Contributor Author

If needed here is the repo with the code I've used.

@VesaJuvonen VesaJuvonen added area:spfx Category: SharePoint Framework (not extensions related) area:spfx-in-lists labels Feb 18, 2025
@VesaJuvonen
Copy link
Contributor

@reedpamsft & @natalieethell - Seems that we have a highly impactful issue on dropping again SPFx menu items from the context menu. Something which will for sure impact wide range of customers if this is in progress to rollout.

@natalieethell
Copy link

Thanks for reporting! We've identified the fix and will have it rolled out by February 24th.

@natalieethell
Copy link

The rollout of the new UI in DocLibs will not continue until this fix is out.

@GuidoZam
Copy link
Contributor Author

Thanks for the update @natalieethell!

@natalieethell
Copy link

Sorry, *the week of February 24th. Likely early in the week as long as build rollout goes as planned!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:spfx Category: SharePoint Framework (not extensions related) area:spfx-in-lists type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Projects
None yet
Development

No branches or pull requests

3 participants