cancel
Showing results for 
Search instead for 
Did you mean: 

Provide option to disable flash preview in Share

wchu
Champ in-the-making
Champ in-the-making
It states in this bug fix that it is possible to disable the flash preview in Share so how do I go about doing that?

Reference link:ETHREEOH-573
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
The answer is in the ticket.

Put in a config in web-framework-config-application.xml like this:

<config evaluator="string-compare" condition="DocumentDetails" replace="true">
   <document-details>
      <!– display web previewer on document details page –>
      <display-web-preview>true</display-web-preview>
   </document-details>
</config>

Mike

i5513
Champ in-the-making
Champ in-the-making
Where should we put web-framework-config-application.xml ?

I localized it in :
./tomcat/shared/classes/alfresco/web-extension/webscript-framework-config-custom.xml.sample

But I don't know where should it goes ? Should restart alfresco latter ?

Thank you!