Setting PDF documents to open in OWA

%3CLINGO-SUB%20id%3D%22lingo-sub-105067%22%20slang%3D%22en-US%22%3ESetting%20PDF%20documents%20to%20open%20in%20OWA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-105067%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20an%20issue%20where%20I%20have%20set%20all%20of%20the%20WordPDF%20WOPIBindings%20to%20open%20in%20OWA%20by%20default%2C%20ensured%20that%20OpenInClient%20Site%20Collection%20Feature%20is%20turned%20off%20and%20that%20the%20library%20I%20am%20testing%20with%20is%20set%20to%20%22Use%20Server%20Default%20(Open%20in%20Browser)%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20PDF%20Documents%20still%20open%20in%20the%20default%20browser%20PDF%20application%2C%20and%20for%20those%20browsers%20that%20do%20not%20have%20one%20set%20it%20will%20as%20to%20download%20or%20to%20get%20an%20application%20from%20the%20app%20store.%20I%20am%20under%20the%20impression%20at%20this%20point%20that%20it%20has%20nothing%20to%20do%20with%20the%20WOPIBindings%2C%20as%20they%20were%20set%20correctly%20before%20I%20started%20in%20on%20trying%20to%20get%20PDF's%20to%20open%20in%20OWA.%20I%20have%20attached%20the%20output%20of%20my%20WordPDF%20WOPIBindings.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20on%20this%20would%20be%20greatly%20appreciated.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-105067%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-106176%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20PDF%20documents%20to%20open%20in%20OWA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-106176%22%20slang%3D%22en-US%22%3Eanother%20thought.%20are%20you%20using%20HTTPS%20or%20HTTP%20as%20this%20makes%20a%20big%20difference.%3CBR%20%2F%3Esee%20the%20-AllowHTTP%20parameter%20on%20the%20binding%20command%3CBR%20%2F%3Esee%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Foffice_resource_kit%2F2013%2F07%2F31%2Fcontrol-whether-pdfs-open-in-word-web-app-or-the-default-pdf-reader%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Foffice_resource_kit%2F2013%2F07%2F31%2Fcontrol-whether-pdfs-open-in-word-web-app-or-the-default-pdf-reader%2F%3C%2FA%3E%20for%20more%20complete%20info%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-106171%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20PDF%20documents%20to%20open%20in%20OWA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-106171%22%20slang%3D%22en-US%22%3Esorry%20didn't%20see%20the%20attachment.%20I%20notice%20your%20WOPI%20settings%20are%20different%20from%20the%20guide%20my%20infrastructure%20chaps%20have%20used%20from%20Wictor%20here%20%3CA%20href%3D%22http%3A%2F%2Fwww.wictorwilen.se%2Foffice-web-apps-2013-patching-your-wac-farm-with-no-downtime%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.wictorwilen.se%2Foffice-web-apps-2013-patching-your-wac-farm-with-no-downtime%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20mainly%20done%20this%20for%20the%20search%20preview%20for%20pdf%20which%20works%20really%20well%20and%20looks%20pretty%20cool%20to%20end%20users%20who%20usually%20have%20lots%20of%20these%20files.%3CBR%20%2F%3Esee%20Wictors%20other%20post%20and%20you%20may%20find%20that%20easier%20to%20test%20than%20the%20document%20libraries.%20%3CA%20href%3D%22http%3A%2F%2Fwww.wictorwilen.se%2Fsharepoint-2013-enabling-pdf-previews-with-office-web-apps-2013-march-2013-update%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.wictorwilen.se%2Fsharepoint-2013-enabling-pdf-previews-with-office-web-apps-2013-march-2013-update%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-105945%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20PDF%20documents%20to%20open%20in%20OWA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-105945%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Kath%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20included%20the%20output%20of%20the%20Get-SPWOPIBinding%20-Application%20%22Word%20PDF%22%20in%20my%20original%20post.%20This%20is%20after%20resetting%20the%20bindings%20using%20Set-SPWOPIBinding%20-Application%20%22WordPDF%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20default%20actions%20are%20true%20and%20it%20should%20be%20working%2C%20is%20there%20a%20setting%20on%20the%20OWA%20Server%20or%20another%20place%20that%20I%20need%20to%20check%20to%20get%20this%20working%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-105898%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20PDF%20documents%20to%20open%20in%20OWA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-105898%22%20slang%3D%22en-US%22%3Eassuming%20you%20are%20on-prem%20I%20seem%20to%20remember%20that%20the%20PDF%20file%20type%20needs%20some%20extra%20implementation%20steps%20to%20get%20it%20to%20default%20to%20OWA.%20have%20you%20looked%20at%20the%20Set-SWOPIBinding%20in%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fee837425.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fee837425.aspx%3C%2FA%3E%20%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-105631%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20PDF%20documents%20to%20open%20in%20OWA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-105631%22%20slang%3D%22en-US%22%3E%3CP%3EI%20don't%20think%20there%20are%20any%20installed.%20The%20browser%20default%20PDF%20application%20seems%20to%20handle%20it%20different%20for%20each%20browser.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-105627%22%20slang%3D%22en-US%22%3ERe%3A%20Setting%20PDF%20documents%20to%20open%20in%20OWA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-105627%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20PDF%20tool%20is%20installed%3F%20We've%20have%20problems%20with%20BlueBeam%20settings%20overriding%20anything%20we%20throw%20at%20it%20and%20eventually%20having%20to%20turn%20off%20the%20web%20options%20in%20the%20BlueBeam%20settings%20client.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have an issue where I have set all of the WordPDF WOPIBindings to open in OWA by default, ensured that OpenInClient Site Collection Feature is turned off and that the library I am testing with is set to "Use Server Default (Open in Browser)".

 

My PDF Documents still open in the default browser PDF application, and for those browsers that do not have one set it will as to download or to get an application from the app store. I am under the impression at this point that it has nothing to do with the WOPIBindings, as they were set correctly before I started in on trying to get PDF's to open in OWA. I have attached the output of my WordPDF WOPIBindings.

 

Any help on this would be greatly appreciated. 

 

6 Replies

What PDF tool is installed? We've have problems with BlueBeam settings overriding anything we throw at it and eventually having to turn off the web options in the BlueBeam settings client.

I don't think there are any installed. The browser default PDF application seems to handle it different for each browser.

assuming you are on-prem I seem to remember that the PDF file type needs some extra implementation steps to get it to default to OWA. have you looked at the Set-SWOPIBinding in https://technet.microsoft.com/en-us/library/ee837425.aspx ?

Hello Kath,

 

I have included the output of the Get-SPWOPIBinding -Application "Word PDF" in my original post. This is after resetting the bindings using Set-SPWOPIBinding -Application "WordPDF".

 

All default actions are true and it should be working, is there a setting on the OWA Server or another place that I need to check to get this working?

 

sorry didn't see the attachment. I notice your WOPI settings are different from the guide my infrastructure chaps have used from Wictor here http://www.wictorwilen.se/office-web-apps-2013-patching-your-wac-farm-with-no-downtime

I have mainly done this for the search preview for pdf which works really well and looks pretty cool to end users who usually have lots of these files.
see Wictors other post and you may find that easier to test than the document libraries. http://www.wictorwilen.se/sharepoint-2013-enabling-pdf-previews-with-office-web-apps-2013-march-2013...
another thought. are you using HTTPS or HTTP as this makes a big difference.
see the -AllowHTTP parameter on the binding command
see https://blogs.technet.microsoft.com/office_resource_kit/2013/07/31/control-whether-pdfs-open-in-word... for more complete info