Forum Discussion

Filipe Matos's avatar
Filipe Matos
Copper Contributor
Apr 16, 2020

Limit the display of a command set to a specific list instance

Hi,

According to this Microsoft article  https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api  on how to create command set extension, one can publish a command to one or more generic type of lists / document libraries by setting them in the file elements,xml.

For instance, making all custom lists display the command set:

 

RegistrationId="100"
RegistrationType="List"

 

 

However, I want a command set to appear in only one specific list instance rather than in all custom lists / document libraries.

 

Do you know, how can this be done?

 

Thank you

Filipe

 

 

Resources