SharePoint Framework extension and list template id activation filter
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Expected or Desired Behavior
Configured RegistrationId within Elements file should be automatically set as the filtered List Template id in the "TenantWideExtensions" list when opting for a tenant/site collection scoped extension deployment.
Observed Behavior
In elements file this entry has been configured: RegistrationId="101". In "TenantWideExtensions" list the list template id however is set to "100", forcing me to perform an additional deployment step by opening the hidden "TenantWideExtensions" and manually altering the mentioned id from "100" to "101". As a temporary solution I could create some additonal scripting to automate this deployment step, however I expect this to be done automatically by SPO.
Steps to Reproduce
- create a list view command set extension to be available within a document library (id 101) using the RegistrationId option within the elements file
- set deployment scope of extension to tenant wide
- create site collection app catalog
- upload spfx solution package
- view item within "TenantWideExtensions" list and check the list template id property (is 100 instead of expected 101 value).
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Sorry - just to confirm (as the pictures seem to tell a different story). The elements CustomAction attribute on RegistrationId is 101, but when you look at the actual configuration in the TenantWide Extensions list, it shows as 100? (in the picture it is showing as 101).
The picture is indeed misleading. It shows the manually adapted value. But initially it has the wrong value, 100 instead of 101.
What goes in the TenantWideExtensions is defined in the ./sharepoint/assets/ClientSideInstance.xml file, not what's in the elements.xml file.
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