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

Issue with deployment of List View Command Set Extention #1628

Closed
1 of 4 tasks
john88benson opened this issue Apr 11, 2018 · 2 comments
Closed
1 of 4 tasks

Issue with deployment of List View Command Set Extention #1628

john88benson opened this issue Apr 11, 2018 · 2 comments
Labels
area:spfx Category: SharePoint Framework (not extensions related) type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Comments

@john88benson
Copy link
Contributor

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

Expected or Desired Behavior

When I bundle and deploy a List View Command Set Extension that checked out in test that it appears on a site it has been deployed on.

Observed Behavior

I built a custom solution for making a JSON Post to a MS Flow using the List View Command Set Extension. While it worked during gulp serve testing when I deployed to my tenant it would not appear.

I then back tracked and built out the basic extension based on the MSFT tutorial: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api

While it also worked fine during gulp-serve testing it did not appear when packaged and deployed to a site.

Steps to Reproduce

I have uploaded the project to Git Hub: https://github.com/john88benson/listViewCmdExtension

It is the "OOB" version of the ListViewCmdset stub created using the yo @microsoft/sharepoint (I updated my generator before hand: version 1.4.1). After confirming it functioned during gulp serve I ran a gulp clean, gulp bundle --ship, gulp package-solution --ship then loaded the package into my App Catalog. I added the App in the Site Contents for a site then checked for it in a Document Library but no dice.

Thanks for your contribution! Sharing is caring.

@VesaJuvonen VesaJuvonen added type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. area:spfx Category: SharePoint Framework (not extensions related) labels Apr 11, 2018
@john88benson
Copy link
Contributor Author

You can close this item, it is not a bug. It's not obvious from the gulp serve testing but the RegistrationId in elements.xml specifies what type of list it appears on when deployed. Once I updated the Reg Id to 101 it started appearing in the Doc Library as expected.

It may be worth making this a little more explicit in the CmdSet Tutorial since the early steps show the extension working on a Doc Library but it will display only on generic Lists unless the Reg Id is updated.

Thanks,
-JB

@msft-github-bot
Copy link
Collaborator

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

@SharePoint SharePoint locked as resolved and limited conversation to collaborators Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area:spfx Category: SharePoint Framework (not extensions related) 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