Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-461

Make documentRenditionsActive configurable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.6.4, arender-2.0.0
    • Component/s: ARender

      Description

      We would like to be able to disable the redact and watermark controls on the Previewer.

      To do that we need to put the bean below in our server customization XML file:

      <bean id="delegate"
      		class="com.arondor.viewer.common.rendition.connector.ClientDocumentService">
      	<property name="remoteDocumentServiceProvider"
      			ref="remoteDocumentServiceProvider" />
      	<property name="ignoreDocumentAccessorsWithExceptions"
      			value="${arender.server.rendition.ignore.document.accessors.with.exceptions}" />
      	<property name="maxTries"
      			value="${arender.server.rendition.max.tries}" />
      	<property name="remoteTargets" ref="remoteTargetUrls" />
      	<property name="searchDocumentsInRenditionTargets"
      			value="${arender.server.rendition.search.documents}" />
      	<property name="routingTable"
      			ref="routeTableMap${arender.server.routing.table.type}" />
      	<property name="displayWatermarkProviderBeanName" value="${arender.server.watermark.display.provider}" />
      	<property name="watermarkConfiguration" ref="watermarkConfiguration" />
      	<property name="documentRenditionsActive" value="${arender.server.document.renditions.active}" />
      </bean>
      

      This will allow us to disable the behavior with the environment variable below:

      ARENDERSRV_ARENDER_SERVER_DOCUMENT_RENDITIONS_ACTIVE=false
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: