Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Open word document with oData getStream in browser

$
0
0

Hello,

 

I try to open different type of document in a browser!

 

I use getStream in my service and when I open a PDF or JPEG file, the file opens in a iFrame in my application. But When I open a Docx the browser wants to download the file.

 

I try to use plug-in's in the browser to display office docs in the browsers. Then the word doc is opening in a new window an not in my iFrame.

 

I found the possibility to embed google doc viewer in a iframe, but when I try this then the doc viewer can't show the document

 

https://drive.google.com/viewerng/viewer?url=https://****.************.eu/sap/opu/odata/CTR/****_DPD_SRV/DocContentSet(Docclass=%27ASR_DOC03%27,ObjectId=%27E4115BEA1CF01EE4A1A73491E8AB273F%27)/$value&embedded=true

 

Has someone a solution to show documents like docx in the browser, using oData.

 

Kind regards,

Richard Middelburg


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>