Print option missing in WOPIFrame Embed URL for Excel files in SharePoint Document Library

Copper Contributor

Hi All,

 

I am a SharePoint developer and trying to embed Excel and Word files in a Provider Hosted application using WOPIFrame (OWA) and it is SharePoint online environment. Here is what I am trying to do : Excel and Word files are in a SharePoint Document Library and from my code I am getting the WPOIFrame embed URL through CSOM. Then loading that URL in an iframe inside my MVC application's View to display Office files inside web page.

URL for Excel looks something like this - https://{web absolute url}/_layouts/15/WopiFrame.aspx
?sourcedoc={document guid}&action=embedview 

 

Everything is fine except that Print option is not available in the embedview for Excel documents but works fine for Word documents.

 

Any help to include Print in Excel embedview is much appreciated.

0 Replies