cancel
Showing results for 
Search instead for 
Did you mean: 

Move back to flash previewer in 5.0

jamilnour
Star Contributor
Star Contributor
Hello,

Can you tell me how I can move back to the flash previewer after the upgrade to 5.0?

PdfJS is good but it can't show the digital signature layer image which is a must in our projects

Flash can show the digital when converting the pdf page to an image (tested)

I hope I can configure it from my share-config-custom.xml to force using the previewer we want

Nothing about previewers in:
http://IP/share/page/modules/deploy

Thank you

Jamil

3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

you can reactivate the Flash previewer by modifying the configuration of the web-preview.get.config.xml or using a Surf extension module with web-preview.get.js post-processor / customization. There is no simple flag to enable this as Flash as far as I know…

Regards
Axel

jamilnour
Star Contributor
Star Contributor
Hi,

I did the following in the web-preview.get.config.xml and after restarting the server I have the flash loaded like in the older version but the message "The previewer cannot be loaded from the server" appears before showing the document. Any idea?

Thank you
Jamil


  <!– Documents that have been converted to .pdf –>

      <condition mimeType="application/pdf">
         <plugin progressiveLoading="false">WebPreviewer</plugin><!–PdfJs–>
      </condition>
     
      <condition thumbnail="pdf">
         <plugin src="pdf" progressiveLoading="false">WebPreviewer</plugin><!–PdfJs–>
      </condition>

Hello,

Ok I found what to change in the web-preview config file web-preview.get.config.xml:

 
  <!– Documents that have been converted to .pdf –>

     <!–
      <condition mimeType="application/pdf">
         <plugin progressiveLoading="false">PdfJs</plugin>
      </condition>

      <condition thumbnail="pdf">
         <plugin src="pdf" progressiveLoading="false">PdfJs</plugin>
      </condition>
    –>


So comment all the pdf section will back the previewer to flash.

Of course it is better to add the modified web-preview.get.config.xml to your share project to override the original file

Best regards
Jamil
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.