Thursday, 20 March 2014

Customizing flash-upload dialog in Alfresco Share for 4.2.x version

Here is some useful information for Alfresco4.2.x customizers.
Normally for uploading a custom type of content (from flash-upload dialog in alfresco share), what we did till now was
making the entry of custom content type in flash-upload.get.js file and
the custom content started appearing in flash-upload dialog.

But in Alfresco4.2.x, to make the flash-uploader work with custom content type, we need to do the following :

1) Make the appropriate entry of custom content type in flash-upload.get.js file in your extension environment.
2) Edit the tomcat/conf/context.xml file.
   Add the change in context element as follows:
   <Context useHttpOnly="false"> in place of <Context>
3) Restart the server.

This is done in order to re-enable the flash uploader.

Courtesy :
http://wiki.alfresco.com/wiki/Alfresco_Community_4.2.b_Release_Notes