AnsweredAssumed Answered

Hide download button in document previewer for specific custom content type

Question asked by yash.patel.c2 on Mar 19, 2019
Latest reply on Mar 23, 2019 by sanjaybandhniya

Hello everyone,

 

I want to hide download button in document previewer for specific custom content type. Right now I have hidden download button for every document in alfresco by updating AlfrescoUtil.param("showDownload", "false"); and showDownload : (model.showDownload == "false") and  in node-header.get.js. How can I achieve this for specific custom content type, i.e. for one particular content type download button in the document previewer will be hidden while documents of other content types can see Download button in the document previewer.

 

Thanks

Outcomes