ListView Command Set extension - What are supported values for “RegistrationId” and “RegistrationType” in <Elements><CustomAction>?

sharepoint.stackexchange https://sharepoint.stackexchange.com/questions/279011

  •  08-02-2021
  •  | 
  •  

Domanda

I would like to create a ListView Command Set Extension for modern views using a SharePoint Framework solution. Ideally I would be able to apply my "Custom Actions" only to specific list types or content types. This could be done using Classic Custom Actions.

What are the supported values for "RegistrationId" and "RegistrationType" in the element manifest?

This tutorial indicates you can use "100" or "101" for RegistrationId and "List" for RegistrationType: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api.

Are there more possibilities? Is there documentation for precisely what is supported for the latest SPFx version?

È stato utile?

Soluzione

RegistrationId is for RegistrationType "List" the base list template, so you can use that to target specific list types. 100 is a generic list, 101 is a document library.

For RegistrationType, only List is supported for now.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top