cancel
Showing results for 
Search instead for 
Did you mean: 

enabling preview for attachments

ronaldgrn_
Champ in-the-making
Champ in-the-making

Currently Nuxeo lets you preview the main document, but how would I do a live preview of attachments added to said document? All it lets you do currently is convert to pdf and download..

4 REPLIES 4

Vladimir_Pasqui
Star Collaborator
Star Collaborator

Hi,

Yes indeed, you have only the possibility by default to preview the main file attached to the document.

https://github.com/nuxeo/nuxeo-features/tree/master/nuxeo-platform-preview

is it possible to tweak anything either in the code or in nuxeo studio to preview said attachments?

geekonspace
Star Contributor
Star Contributor

kartik_sn
Confirmed Champ
Confirmed Champ

Hi,

Use the link below and form the URL of the attachment and use it under a button to view preview of attachments.This way you can tweak the code.

http://localhost:8080/nuxeo/restAPI/preview/default/(asset_uid)/files:files-(attachment_number)-file...

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.