<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic disable PDF rendition in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/disable-pdf-rendition/m-p/319257#M6258</link>
    <description>&lt;P&gt;Hello,
I try to disable a PDF rendition:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;required&amp;gt;org.nuxeo.ecm.platform.rendition.contrib&amp;lt;/required&amp;gt;

&amp;lt;extension target="org.nuxeo.ecm.platform.rendition.service.RenditionService"
  point="renditionDefinitions"&amp;gt;
  &amp;lt;renditionDefinition name="pdf" enable="false" /&amp;gt;
&amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;As a result of this is the PDF rendition without icon.
In a log is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;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
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I change the XML to:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;renditionDefinition name="pdf" enabled="false" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the PDF rendition is shown normally, and
in the log file is only:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2015-02-13 17:52:21,027 INFO  [org.nuxeo.ecm.platform.rendition.service.RenditionServiceImpl] Registering rendition with name: pdf
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How can this rendition be removed ?&lt;/P&gt;
&lt;P&gt;Adam&lt;/P&gt;</description>
    <pubDate>Fri, 13 Feb 2015 18:00:58 GMT</pubDate>
    <dc:creator>adam_bo_</dc:creator>
    <dc:date>2015-02-13T18:00:58Z</dc:date>
    <item>
      <title>disable PDF rendition</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/disable-pdf-rendition/m-p/319257#M6258</link>
      <description>&lt;P&gt;Hello,
I try to disable a PDF rendition:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;required&amp;gt;org.nuxeo.ecm.platform.rendition.contrib&amp;lt;/required&amp;gt;

&amp;lt;extension target="org.nuxeo.ecm.platform.rendition.service.RenditionService"
  point="renditionDefinitions"&amp;gt;
  &amp;lt;renditionDefinition name="pdf" enable="false" /&amp;gt;
&amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;As a result of this is the PDF rendition without icon.
In a log is:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;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
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I change the XML to:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;renditionDefinition name="pdf" enabled="false" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the PDF rendition is shown normally, and
in the log file is only:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2015-02-13 17:52:21,027 INFO  [org.nuxeo.ecm.platform.rendition.service.RenditionServiceImpl] Registering rendition with name: pdf
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;How can this rendition be removed ?&lt;/P&gt;
&lt;P&gt;Adam&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2015 18:00:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/disable-pdf-rendition/m-p/319257#M6258</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2015-02-13T18:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: disable PDF rendition</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/disable-pdf-rendition/m-p/319258#M6259</link>
      <description>&lt;P&gt;It's &lt;CODE&gt;&amp;amp;lt;require&amp;amp;gt;&lt;/CODE&gt;, not &lt;CODE&gt;&amp;amp;lt;required&amp;amp;gt;&lt;/CODE&gt;. And it's &lt;CODE&gt;enabled=&amp;amp;quot;false&amp;amp;quot;&lt;/CODE&gt;, not &lt;CODE&gt;enable&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2015 19:30:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/disable-pdf-rendition/m-p/319258#M6259</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2015-02-16T19:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: disable PDF rendition</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/disable-pdf-rendition/m-p/319259#M6260</link>
      <description>&lt;P&gt;Thanks. It works.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:16:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/disable-pdf-rendition/m-p/319259#M6260</guid>
      <dc:creator>adam_bo_</dc:creator>
      <dc:date>2015-02-17T20:16:32Z</dc:date>
    </item>
  </channel>
</rss>

