<?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 How to remove a default Contextual Action ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-remove-a-default-contextual-action/m-p/324416#M11417</link>
    <description>&lt;P&gt;I've found a way to add contextual action in User action,
by setting the category 'Contextual action'  and manage its enablement properly.
As explained here : &lt;A href="http://doc.nuxeo.com/display/Studio/User+actions+categories" target="test_blank"&gt;http://doc.nuxeo.com/display/Studio/User+actions+categories&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I can't find where to remove some existing ones ( the 'like' button for example )
For default tabs, we can disable them in the document type with the "Default tabs filtering" panel.&lt;/P&gt;
&lt;P&gt;Is there a "Default contextual action filtering" panel somewhere ?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2013 12:05:55 GMT</pubDate>
    <dc:creator>Guian_</dc:creator>
    <dc:date>2013-11-22T12:05:55Z</dc:date>
    <item>
      <title>How to remove a default Contextual Action ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-remove-a-default-contextual-action/m-p/324416#M11417</link>
      <description>&lt;P&gt;I've found a way to add contextual action in User action,
by setting the category 'Contextual action'  and manage its enablement properly.
As explained here : &lt;A href="http://doc.nuxeo.com/display/Studio/User+actions+categories" target="test_blank"&gt;http://doc.nuxeo.com/display/Studio/User+actions+categories&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I can't find where to remove some existing ones ( the 'like' button for example )
For default tabs, we can disable them in the document type with the "Default tabs filtering" panel.&lt;/P&gt;
&lt;P&gt;Is there a "Default contextual action filtering" panel somewhere ?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 12:05:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-remove-a-default-contextual-action/m-p/324416#M11417</guid>
      <dc:creator>Guian_</dc:creator>
      <dc:date>2013-11-22T12:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove a default Contextual Action ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-remove-a-default-contextual-action/m-p/324417#M11418</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This cannot be done in a friendly way with Studio right now, it's more focused on adding things than disabling default ones, but future improvements may handle that kind of use case.&lt;/P&gt;
&lt;P&gt;The easiest to disable an action globally is to add an "XML extension", find what the id of the original action is (you can use the explorer for that, for instance &lt;A href="http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewExtensionPoint/org.nuxeo.ecm.platform.actions.ActionService--actions"&gt;have a look at contributions to the actions service&lt;/A&gt;, more specifically &lt;A href="http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewContribution/org.nuxeo.ecm.rating.actions--actions"&gt;actions from the rating module&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;Here is a sample conf to disable the "like" action (not tested):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.platform.actions.ActionService"
  point="actions"&amp;gt;
  &amp;lt;action id="documentLike" enabled="false" /&amp;gt;
&amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Nov 2013 15:06:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-remove-a-default-contextual-action/m-p/324417#M11418</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-11-22T15:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove a default Contextual Action ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-remove-a-default-contextual-action/m-p/324418#M11419</link>
      <description>&lt;P&gt;It worked for the like button, I'll look for the ids of other action I need to remove.  Thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 15:21:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-remove-a-default-contextual-action/m-p/324418#M11419</guid>
      <dc:creator>Guian_</dc:creator>
      <dc:date>2013-11-22T15:21:26Z</dc:date>
    </item>
  </channel>
</rss>

