We have a requirement in which we need to generate the preview of the document attached in the posts so that it is helpful for the user to see the preview rather than downloading the file , I am able to extract the content of the file but not able to generate the preview .
There wasn’t any document attached so I’m not sure what kind of document it is… I can view .pdf previews on our nightly build server but I believe other file-type previews are still in the works…
I see that this message was posted Dec '17. As of now, is there a way users can preview documents such as PDF, Word, Excel, and other formats before downloading?