sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SharePoint Framework extension and list template id activation filter

Open mvdschaaks opened this issue 7 years ago • 5 comments

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

  1. create a list view command set extension to be available within a document library (id 101) using the RegistrationId option within the elements file
  2. set deployment scope of extension to tenant wide
  3. create site collection app catalog
  4. upload spfx solution package
  5. view item within "TenantWideExtensions" list and check the list template id property (is 100 instead of expected 101 value). extensie_activation_listtemplateid registrationid

mvdschaaks avatar Jan 24 '19 09:01 mvdschaaks

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Jan 24 '19 09:01 msft-github-bot

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).

patmill avatar Jan 25 '19 17:01 patmill

The picture is indeed misleading. It shows the manually adapted value. But initially it has the wrong value, 100 instead of 101.

mvdschaaks avatar Feb 07 '19 10:02 mvdschaaks

What goes in the TenantWideExtensions is defined in the ./sharepoint/assets/ClientSideInstance.xml file, not what's in the elements.xml file.

andrewconnell avatar Mar 25 '19 13:03 andrewconnell

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

msft-github-bot avatar Jan 25 '20 12:01 msft-github-bot