Skip to content

Adding new button on pdf viewer #53

@MarioZagreb

Description

@MarioZagreb

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions