Alfresco – Disabling file upload by MIME type with 1 line of JS code

Alfresco handles every file format, in fact there is no limitation out of the box in order to restrict allowed MIME types. Executables, databases and any other potentially harmful content can be stored inside. Developers can control this feature easily by listening onCreateNode event from NodePolicy. However, system administrators and other users without this skillContinue reading “Alfresco – Disabling file upload by MIME type with 1 line of JS code”

Alfresco – Customizing alfresco-unzip-action addon

Related to my last article Sending a notification email to Site Administrators by using JavaScript API, we are going to customize alfresco-unzip-action by using the same principles. This addon include one new Share action to unzip inside Alfresco any ZIP file. Following JavaScript unzips a ZIP file on the same folder (by using the actionContinue reading “Alfresco – Customizing alfresco-unzip-action addon”

Alfresco – Sending a notification email to Site Administrators by using JavaScript API

It occurs that we developers like to use Alfresco SDK to customize Alfresco in every way. However Alfresco provides a wide catalog of techniques to develop our projects and every technique is more or less suitable for every purpose. In this article, we are going to show how to send an email to every SiteContinue reading “Alfresco – Sending a notification email to Site Administrators by using JavaScript API”