Forum Discussion
Supun Bulathsinghala
May 03, 2017Copper Contributor
Add a button to Command Bar of a SharePoint online Library All Item view
I have a requirement to add a new button to the Command Bar (Just above the Lst View with New, Upload, Sync, Share,... buttons). using Custom Actions. I couldn't find a way to add a custom actio...
May 03, 2017
AFAIK, this is currently not possible.
May 03, 2017
Agree, I'm not aware of way of extending that bar...you can extend the ribbon, the ECB...but not sure about that bar...maybe by injecting some JS?
- Supun BulathsinghalaMay 04, 2017Copper Contributor
Yep I can inject some JS, but thought of checking first if there's a way to add a button to the command bar similar to Ribbon and ECB.
Thanks guys for the responses.
- Brent EllisMay 04, 2017Silver ContributorI've done this before, like Juan mentioned, just by injecting JS, its the only way.
- Yogesh JagtapJan 01, 2018Copper ContributorCan you please give me a example for injecting JavaScript to add CommandBar button?