Command set extension is no longer visible in the context menu (ECB) #10121
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.
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
Additional environment details
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 rungulp 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
orClientSideExtension.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
ClientSideExtension.ListViewCommandSet
gulp serve
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.The text was updated successfully, but these errors were encountered: