SharePoint / sp-dev-training-spfx-extensions

SharePoint Framework training package - Getting Started with SharePoint Framework Extensions
MIT License
24 stars 17 forks source link

Adding new button on pdf viewer #53

Open MarioZagreb opened 2 years ago

MarioZagreb commented 2 years ago

Hello,

When I click on a document in my document library (in SP Online), it opens in a viewer in browser. Is it possible to add a new button on that viewer? image

I noticed that this is a "spCommandBar". I have managed to add a new button (by creating a SPfx extension) to a spCommandBar of a document library. How do I add the same button in spCommadBar of document viewer?

MarioZagreb commented 1 year ago

It isn't possible?

PzKfWg commented 1 year ago

Did you ever figure it out?