02-13-2015 01:00 PM
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
02-16-2015 02:30 PM
It's <require>
, not <required>
. And it's enabled="false"
, not enable
.
02-17-2015 03:16 PM
Thanks. It works.
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.