How to remove PDF links and Download links?
My workplace requires that we prevent users from downloading the documents or the PDFs.
We need a way to force users to only view/edit content directly in the Nuxeo interface.
The first thing I want to do is completely remove the download and PDF links from the interface. Then I will port all existing documents into “Note” objects, directly in the Nuxeo interface.
Can this be done? Is their a better way to achieve this?
The problem is that in 5.5 version the method “isDownloadable” is never used in code or configuration files.
The PDF link appears when there is a proper converter. It means that you can hide the link by removing the conversion configuration for PDF. But there will be still problem with the download link.
Finally, you can edit xhtml files or create new and edit proper widgets and include them in your bundle. Most of them are in the nuxeo-platform-webapp bundle (content_widget_template.xhtml, extend_file_widget.xhtml, extend_sufile_widget.xhtml)
But thank you for offering help!