Hide Menu (Download a copy / Export to pdf) from WopiFrame2.aspx

New Contributor



Our online app uses Sharepoint Online services to store documents and present them embedded inside page.


Typically embedded viewer link to document is looking like this

https://<tenant>.sharepoint.com/sites/<site>/<page>/_layouts/15/WopiFrame2.aspx?sourcedoc=<path to document in a library>&file=<file name>&action=interactivepreview


Customer complains that user has the download functionality (see below).



Is there any way to remove those buttons by a WopiFrame2.aspx argument or any other way?



2 Replies

@Snafusofauq It is not relevant for Sharepoint Online. Sharepoint online is not controlled by our organization directly (I'm not a part of Microsoft yet)