cancel
Showing results for 
Search instead for 
Did you mean: 

Enable Flash Based Upload without editing Context.xml

ratik_singhal
Star Contributor
Star Contributor
I want to enable Flash Based Upload But I dont want to change Context.xml file. I am looking to change some file that are related to Alfresco not the tomcat config file.
4 REPLIES 4

sujaypillai
Confirmed Champ
Confirmed Champ
Try adding the below code-snippet to your share-config-custom.xml [tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml]


   <config evaluator="string-compare" condition="DocumentLibrary" replace="true">

      <!–
         File upload configuration
      –>
      <file-upload>
         <!–
            Adobe Flash™
            In certain environments, an HTTP request originating from Flash cannot be authenticated using an existing session.
            See: http://bugs.adobe.com/jira/browse/FP-4830
            For these cases, it is useful to disable the Flash-based uploader for Share Document Libraries.
         –>
         <adobe-flash-enabled>true</adobe-flash-enabled>
      </file-upload>
   </config>

Hi..

Thanks for replying !

I have tried but it was not working.

I am working on Alfresco 4.2c version. In that by default DND file uploader is getting used. But I want to use flash uploader by defult. I know I can disable DND uplaoder by putting useHttpOnly="false" in context.xml. But I don't want to modify the context.xml file. I need to customize it on Alfresco side.

krutik_jayswal
Elite Collaborator
Elite Collaborator
Is there anybody who found any solution.I am facing same issue.

sanketgosavi
Champ in-the-making
Champ in-the-making
Is flash player plugin of your browser is enabled ?