Forum Discussion

James_Badham's avatar
James_Badham
Copper Contributor
Aug 15, 2024

SPFx ListViewCommandSet Extension buttons are not appearing in command bar in Microsoft Lists UI

Hi,
 
We have noticed that the buttons for SPFx ListViewCommandSet extensions are not appearing in the command bar for lists when the Microsoft Lists-style UI is displayed.
 
We first noticed this in one of our production extensions, but have also reproduced the error with the 'HelloWorld' example from the official 'Build your first ListView Command Set extension' article. The following behaviour is encountered:
 
1. Default SharePoint Microsoft Lists-type UI displayed when opening a list in SharePoint - ListViewCommandSet button is not displayed.

 

2. Microsoft Lists UI displayed after pressing the 'Open in immersive mode' button from the default SharePoint list UI - ListViewCommandSet button is not displayed.

 

3. SPO Modern lists UI displayed after pressing the 'Open in site' button from the Microsoft Lists UI - ListViewCommandSet button is displayed.

 

 

This is surely a bug, as the extension used for testing was built with the most recent version of SPFx (version 1.19).

 

Are Microsoft aware of this and are they investigating a fix?

 

Is there a known workaround for this issue?

 

Thanks.

  • nuridurmus06's avatar
    nuridurmus06
    Copper Contributor
    In the task manager end this task: Microsoft.Sharepoint.exe. It solves the problem. All machines have the same configurations but some work properly without ending this task. Also, there isn't any error on mobile phones. I don't know what causes the problem, it's really annoying.
    • Kinga's avatar
      Kinga
      Brass Contributor

      Disabling “Offline Client Availability” (https://support.microsoft.com/en-us/office/limit-sync-for-a-sharepoint-site-e17bf52b-fa5d-41cf-9eb0-d3812542424e) on the list level (not on the site level) worked for us.
      However- it takes few minutes to take effect, and it seems to depend on the SPO version. So I hope there will be no regression until it is fixed permanently.
      We were assured that MS sees it as a workaround and they are working on a permanent fix

      • Kinga's avatar
        Kinga
        Brass Contributor

        We just got a word from our Microsoft engineer that the issue is now solved and has been rolled out. According to our tests, the SPFx customization buttons are back, even without the above workaround (the Offline Client Availability).
        We are on version 16.0.0.25304 (https://YOUR_TENANT.sharepoint.com/_vti_pvt/service.cnf)

         

        Although… seems like some team members need to use Ctrl+F5 every time. Turning Client Offline Availability off seems like a better approach. 
        We keep the ticket open 

Resources