Forum Discussion

siarheik's avatar
siarheik
Copper Contributor
Sep 03, 2020

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

Hello.

 

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's avatar
    Snafusofauq
    Copper Contributor

    siarheik 

    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4151672a-f9bb-463a-a5b2-5cb247135795/disablehide-quotprint-to-pdfquotquotdownload-a-copyquotquotembded-informationquot?forum=sharepointdevelopment

    • siarheik's avatar
      siarheik
      Copper Contributor

      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)

Resources