Forum Discussion
deploy spfx command set for doclib is not working
Peter Cheung i know this is a late response, but this is to help anyone else having this problem since this question is surfaced in search results
what you have to do is change the xml files in the spfx project found under sharepoint > assets
in ClientSideInstance.xml change ListTemplateId (and in elements.xml change RegistrationId) from 100 to 101, so to make it show up in custom lists you use 100, and you use 101 to make it show up in document libraries
if you need to use both at the same time, just copy and paste the xml chunks for ClientSideComponentInstance and CustomAction in their respective files
here is a link with a more thorough description plus pictures:
hopefully this saves someone some time 🙂
- JR2021Brass Contributor
Peter Cheung i know this is a late response, but this is to help anyone else having this problem since this question is surfaced in search results
what you have to do is change the xml files in the spfx project found under sharepoint > assets
in ClientSideInstance.xml change ListTemplateId (and in elements.xml change RegistrationId) from 100 to 101, so to make it show up in custom lists you use 100, and you use 101 to make it show up in document libraries
if you need to use both at the same time, just copy and paste the xml chunks for ClientSideComponentInstance and CustomAction in their respective files
here is a link with a more thorough description plus pictures:
hopefully this saves someone some time 🙂