enter image description here

As shown in figure I want to add button on each CommandBar in SharePoint site?

1 Answer 1


I am not sure about you can do it via C# Client OM, but if you are familiar with SharePoint Framework you can use its Extensions part create add buttons to command bar.

SPFx Extensions has three part ApplicationCustomizers for customizing header and footers, FieldCustomizers for defining rendering of field (similar to CSR, in classic SP) and finally CommandSets to add custom actions to command bar as well as contextual menu.

Your must explore the CommandSets in this link.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.