There’s a field type – resources – in document type editor, and after creating a document and upload some resources to the field, how can I download these resources using freemarker?
I tried the following code, but it seems can only get the path of the resources.
<@hst.link var=“fileURL” hippobean=document.file/>
<a href="${fileURL}">
${file.filename}</a>