As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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..
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?
ldoguin did it
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/