How likely is it we will be able to see doc/docx files using media preview?

I am aware that I may be able to craft a custom widget for this feature in workshop, but I am wondering if this is something that was asked about enough to save me the trouble! We have several documents that we want users to be able to see directly in the app, but many of them are docx/doc files and converting them to pdf has been too computationally expensive

1 Like

Do you need to keep the files as doc/docx? If not, I think you could convert them in a transform or pipeline builder to a pdf and then render them that way for now.

Hello,

You can use additional input formats on media sets (see docs here) which will convert docx files to PDFs on upload to the media set, which means you don’t need to run a pipeline to do so. This will allow you to view the docx files within your media set and Workshop.

Alternatively, if you use a multimodal media set and upload docx files there, we will display them for you in the media set and in Workshop.

Unfortunately, we don’t currently support doc files, so you would need to use a library in python transforms to convert those.

Best,

Isy

1 Like

We did use this solution before, but we have so many files (we are a recruitment agency), that is too expensive and slow to keep running that pipeline for a preview, we may as well just have the button to download the file and save us thousands in compute every week.
@Isy thank you for the reply! I will have a look at both

Am I right in assuming that to preview an item from a media set in workshop, there’s no way to have the path set as a variable?

Seems to me from the screenshot below that I cannot really code a variable into that path to allow me to preview the doc linked to the object I’ve selected (for example)

We would recommend using the ‘Media reference property’ option instead. So you should configure a media reference property on your object and then you can use that in the Media preview widget to view the media.

As an example, this walkthrough shows you how to create an object from a media set in Pipeline Builder.