cancel
Showing results for 
Search instead for 
Did you mean: 

disable PDF rendition

adam_bo_
Star Contributor
Star Contributor

Hello, I try to disable a PDF rendition:

<required>org.nuxeo.ecm.platform.rendition.contrib</required>

<extension target="org.nuxeo.ecm.platform.rendition.service.RenditionService"
  point="renditionDefinitions">
  <renditionDefinition name="pdf" enable="false" />
</extension>

As a result of this is the PDF rendition without icon. In a log is:

2015-02-13 17:52:21,027 INFO  [org.nuxeo.ecm.platform.rendition.service.RenditionServiceImpl] Registering rendition with name: pdf
2015-02-13 17:52:21,128 INFO  [org.nuxeo.ecm.platform.rendition.service.RenditionServiceImpl] Overriding rendition with name: pdf
2015-02-13 17:52:21,201 INFO  [org.nuxeo.ecm.platform.rendition.service.RenditionServiceImpl] Registering rendition with name: pdf

When I change the XML to:

  <renditionDefinition name="pdf" enabled="false" />

the PDF rendition is shown normally, and in the log file is only:

2015-02-13 17:52:21,027 INFO  [org.nuxeo.ecm.platform.rendition.service.RenditionServiceImpl] Registering rendition with name: pdf

How can this rendition be removed ?

Adam

2 REPLIES 2

Florent_Guillau
World-Class Innovator
World-Class Innovator

It's &lt;require&gt;, not &lt;required&gt;. And it's enabled=&quot;false&quot;, not enable.

adam_bo_
Star Contributor
Star Contributor

Thanks. It works.

Getting started

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.