angularjs - Cannot display Office Documents in iFrame in SharePoint Hosted app -


my sharepoint hosted app built angular has document viewer built iframe. office documents display when app deployed office365 (sharepoit online).

however same code no work when app deployed sharepoint server 2013 site. office documents downloaded instead of showing in iframe. , following message in developer console in chrome .

resource interpreted document transferred mime type application/vnd.openxmlformats-officedocument.wordprocessingml.document:

i have installed office web apps in sharepoint farm. documents show in sharepoint document library in browser.

i want them show in iframe in sharepoint app, same workig incase of sharepoint online.

any pointers immensely appreciated.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -