Viewing a Word document

Hi Support team,

Is it possible to display a Word document in the Image component (or any other way)?

If not, is there a way to convert the Word document to a PDF at upload?

Scenario:

  • low-skilled users can upload a document, but converting from Word is too difficult (apparently)
  • we need to display the document on Retool once it is uploaded, because allows the user to download it would result in data security issues (but viewing online is fine)
  • the solution should work for .doc & .docx files

Attachment:

  • this is the Image component trying to Display the Word document (stored as Base64)
  • the mime type that Retool picked up when this particular .doxc file was uploaded is "application/vnd.openxmlformats-officedocument.wordprocessingml.document"

Hi @tristdrumdelta :wave:

It doesn't look like converting a word into an image file is supported yet in Retool but that does sound like a neat idea. If you've got some time, perhaps. you can go on ahead and post in feature requests of this community and see if others chime in. I'm sure with enough demand we may be able to work something out.

Have you tried other word to image solutions before? It would be great if you can find one that allows you to use as an API endpoint passing in your document and getting back the image from the response.