Skip to content

SPFX ListView Command Set Extension not loading #4394

@veerasekarmeiyappan

Description

@veerasekarmeiyappan

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

Expected or Desired Behavior

On "Gulp serve" SPFX ListView Command Set should redirect to SP Site list view page and should render a new button named "Command Two" on the list view command tool bar

Observed Behavior

On "Gulp serve" SPFX ListView Command Set redirected to SP Site list view page as expected but didn't render the new button "Command Two" on the list view command tool bar. No errors or warnings found in page and VS code Terminal window

Steps to Reproduce

  1. Created a new SPFX ListView Command Set as in Microsoft site
    https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api
  2. Opened in VS code
  3. Updated the PageURL in "serve.json". No extra code added.
  4. Ran "Gulp serve" in cmd
  5. Browser will open the SP Online site list view "allitems.aspx". Click "Load Debug Scripts" in the "Allow debug scripts" pop up window
  6. The list view will load as in OOTB view but the expected button "Command Two" was not available

Submission Guidelines

Sure this is not a big bug as it has worked earlier for many users, may be a regression bug.
But blocked in creating such extension at all.
SPFX extension also didn't work here is the open issue #4374

Thanks for your contribution! Sharing is caring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:spfx-extensionsCategory: SharePoint Framework Extensions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions