enabling preview for attachments

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..

0 votes

3 answers

1191 views

ANSWER



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/

0 votes



0 votes



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

0 votes



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