cancel
Showing results for 
Search instead for 
Did you mean: 

Customization of ALfresco Content upload

rkasera
Champ in-the-making
Champ in-the-making
Hi,

I have the following queries on Alfresco customization:

1. Can I use a different HTML Editor than the default one? If yes how is that configurable?

2. Is it possible to integrate a virus scanning engine when content is uploaded through alfresco?

3. How can I apply restriction on the file size being uploaded through the Alfresco web client?

4. If I want to apply a validation on an image being uploaded on the basis of a predefined pixel specification, is it possible to do it through some customization.

Any help on these queries would highly be appreciated.

Thanks,
Rajiv
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
1. Yes you can replace the HTML editor used by default but this is not configurable, you'd have to manually replace all the uses of TinyMCE with your choice.

2 and 4. These can both be achieved by using a custom action which is run via a rule on a particular space or spaces. Have a look at these wiki pages for details on actions:

http://wiki.alfresco.com/wiki/Custom_Actions
http://wiki.alfresco.com/wiki/Custom_Action_UI

3. This isn't configurable but could be achieved via customisation. We use the commons fileupload library (1.1.1) which I believe allows you to set the maximum upload size for a file, so you could customise our UploadFileServlet to set this parameter.

rkasera
Champ in-the-making
Champ in-the-making
Thanks Gavin for your help. I would research this further.