10-08-2018 09:30 AM
I'm trying to hide the "Delete" button on the view_documents only if the selected custom document have a boolean property to 1.
I'm using the Studio only ... I tried to implement a contribution to the extension point "filter" but it does not seem to work.
Here is the condition I'm using in the contribution:
<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="filters">
<filter id="canDeleteScan">
<rule grant="false">
<condition>#{currentDocument.getProperty("SchemaDocument.scanner").equals("false")}</condition>
</rule>
</extension>
Does anyone have an idea ?
Thanks
10-11-2018 06:19 AM
Thanks for your help.
10-11-2018 06:30 AM
Hello, So if I understand, you want to recover the documents tick in BackEnd and then you have a certain treatment on these documents.
10-12-2018 05:56 AM
Hi,
Yes, if a property of at least one of the selected documents in the list is "false", I want to hide the "Delete" button for all of the selected documents because this one can't be deleted.
Thanks
10-12-2018 10:03 AM
It is possible to do it with the Studio ?
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
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.