Hi, To achieve this, you need to make a change in following files:1) <strong>ALFRESCO_HOME</strong>/tomcat/webapps/<strong>share</strong>/components/preview/<strong>web-preview.js</strong> & <strong>ALFRESCO_HOME</strong>/tomcat/webapps/<strong>share</strong>/components/preview/<strong>web-preview-min.js</strong> files.<strong>FROM:</strong><javascript>var message = this.msg("label.noPreview", this.getContentUrl(true));</javascript><strong>TO:</strong><javascript>var message = this.msg("label.noPreview");</javascript>2) Copy all files from <strong>ALFRESCO_HOME</strong>/tomcat/webapps/<strong>share</strong>/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/preview/<strong>web-preview.get_*.properties</strong> to<strong>ALFRESCO_HOME</strong>/tomcat/<strong>shared</strong>/classes/alfresco/<strong>web-extension</strong>/site-webscripts/org/alfresco/components/preview/<strong>web-preview.get_*.properties</strong> And change the value of property "label.noPreview". You need to remove <a> anchor tag after the message in all web-preview.get_*.properties files under /tomcat/shared/ location<strong>FROM:</strong>
label.noPreview=This document can''t be previewed.<br/><a class="theme-color-1" href="{0}">Click here to download it.</a>
<strong>TO:</strong>
label.noPreview=This document can''t be previewed.
3) Restart the server.