<?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 Overriding delete button in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/overriding-delete-button/m-p/315584#M2585</link>
    <description>&lt;P&gt;Hi :)
I want to override the delete button.I want to show the button only if the documents are in a specific LifeCycleState.I am lookin at the ActionService extensions but i am not finding the Id of the delete button.Can someone help me please&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2017 10:00:50 GMT</pubDate>
    <dc:creator>Nuxeo_User</dc:creator>
    <dc:date>2017-11-17T10:00:50Z</dc:date>
    <item>
      <title>Overriding delete button</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/overriding-delete-button/m-p/315584#M2585</link>
      <description>&lt;P&gt;Hi :)
I want to override the delete button.I want to show the button only if the documents are in a specific LifeCycleState.I am lookin at the ActionService extensions but i am not finding the Id of the delete button.Can someone help me please&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 10:00:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/overriding-delete-button/m-p/315584#M2585</guid>
      <dc:creator>Nuxeo_User</dc:creator>
      <dc:date>2017-11-17T10:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Overriding delete button</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/overriding-delete-button/m-p/315585#M2586</link>
      <description>&lt;P&gt;I found the solution. Using this xml extension  and also creating the condition&lt;/P&gt;
&lt;P&gt;&lt;EXTENSION target="org.nuxeo.ecm.platform.actions.ActionService" point="actions"&gt;
&lt;ACTION id="CURRENT_SELECTION_TRASH"&gt;
&lt;FILTER-ID&gt;showOnlyInDraftStateAndWorkflowCanceled&lt;/FILTER-ID&gt;
&lt;/ACTION&gt;
&lt;/EXTENSION&gt;&lt;/P&gt;
&lt;P&gt;&lt;EXTENSION target="org.nuxeo.ecm.platform.actions.ActionService" point="filters"&gt;
&lt;FILTER id="showOnlyInDraftStateAndWorkflowCanceled"&gt;
&lt;RULE grant="false"&gt;
&lt;CONDITION&gt;#{checkPermissions.hideDeleteButton()}&lt;/CONDITION&gt;
&lt;/RULE&gt;
&lt;/FILTER&gt;
&lt;/EXTENSION&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 16:23:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/overriding-delete-button/m-p/315585#M2586</guid>
      <dc:creator>Nuxeo_User</dc:creator>
      <dc:date>2017-11-17T16:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Overriding delete button</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/overriding-delete-button/m-p/315586#M2587</link>
      <description>&lt;P&gt;Hi, i have the same problem, can you give me your complete file xml extension.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 14:08:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/overriding-delete-button/m-p/315586#M2587</guid>
      <dc:creator>lassad_belhedi1</dc:creator>
      <dc:date>2018-09-17T14:08:35Z</dc:date>
    </item>
  </channel>
</rss>

