How to customize a content view to make documents directly downloadable ?

How to have the green arrow to download the binary without opening the document ? Which widget ?

0 votes

1 answers

1321 views

ANSWER



Hi,

The widget “Title with link” can show the download icon for an attached file, but its configuration and documentation does not currently show this feature. The JIRA issue at NXS-1730 gives you info on the needed additional conf (add custom properties file_schema, file_property_name, filename_property_name).

If you want to display this icon differently (not next to the title), you can take example on the original widget template: https://github.com/nuxeo/nuxeo-jsf/blob/master/nuxeo-platform-webapp-base/src/main/resources/web/nuxeo.war/widgets/listing/listing_title_link_widget_template.xhtml

1 votes



Thank you for the answer.

My knowledge is not sufficient enough to know what to do with this information :

> The JIRA issue at NXS-1730 gives you info on the needed additional conf (add custom properties file_schema, file_property_name, filename_property_name)

Can you explain me what I have to do, or indicate to me where I can find an explication ?

Sorry, I'm quite new…

02/27/2014

You can drag&drop the corresponding widget in your listing. Then you'll need to fill manually in the popup, in part "custom properties" values as given in the JIRA issue.
02/27/2014