<!– Download document –>
<action id="document-download" type="link" label="actions.document.download">
<param name="href">{downloadUrl}</param>
<permissions>
<permission allow="true">Delete</permission>
</permissions>
</action>
share-config-custom.xml
una sección por cada uno de los bloques que te he comentado para la acción download
.
[config evaluator="string-compare" condition="DocLibActions"]
[action id="document-download"]
[evaluator]evaluator.action.isSiteConsumer[/evaluator]
[/action]
[/config]
site-webscripts\org\alfresco\components\node-details\node-header.get.js
y establecer AlfrescoUtil.param("showDownload", "false");
/site-webscripts/org/alfresco/modules/preview/pdfjs.get.js
con un código similar a éste:
for (var i=0; i<model.toolbarItems.length; i++)
{
if (model.toolbarItems.id == "download")
{
model.toolbarItems.disabled = true;
}
}
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.