-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)area:spfx-extensionsCategory: SharePoint Framework ExtensionsCategory: SharePoint Framework Extensionsstatus:fixedIssue was fixed in current or prior release.Issue was fixed in current or prior release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)
Description
Category
- Question
- Typo
- Bug
- Additional article idea
Expected or Desired Behavior
If using gulp serve to develop and test a CommandSet Extension locally against a SharePoint Online environment, the button(s) to show up in your list or document library
Observed Behavior
The buttons will never show up in the list or document library when using gulp serve to serve it from your localhost. It does work if you gulp package-solution it and throw the sppkg into the Add-In Catalog.
The fault exists on Targeted Release tenants. It works fine on Standard Release tenants or for users not being in the Targeted Release Selected People group.
Steps to Reproduce
- Use the yo @microsoft/sharepoint generator to build a new ListView CommandSet following the guidelines from https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api
- Copy the URL of some list or document library to the pageUrl node in serve.json file in your solution
- Run gulp serve
- The browser will open up the list or document library you used at step 2 but will never show any of the command buttons
- gulp package-solution the same solution, throw the generated sppkg file in an add-in catalog, add the add-in to a site and go to the same list as used at step 2 and you will see the buttons
SPFx 1.82
NPM 5.6.0
NodeJS 8.9.4
statto1974, unowiz, unnieayilliath, heinrich-ulbricht and SharpCodster
Metadata
Metadata
Assignees
Labels
area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)area:spfx-extensionsCategory: SharePoint Framework ExtensionsCategory: SharePoint Framework Extensionsstatus:fixedIssue was fixed in current or prior release.Issue was fixed in current or prior release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)