How to remove a widget to the default summary layout Nuxeo 5.6 ?

We've tried this, but didn't work :

<require>org.nuxeo.ecm.platform.actions.ActionService</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
    <action enable="false" id="summary_current_document_contributors"/>
</extension>
0 votes

1 answers

900 views

ANSWER



Hi,

You're not requiring the right component. Here you want to wait for the default summary actions to be deployed so that they're overriden so you should have:

<require>org.nuxeo.ecm.platform.forms.layouts.webapp.summary</require>

When contribution to an extension point target, requiring the target is useless as it's implicitely required by the deployment framework.

0 votes



I have the same problem, i want to remove icons <action id="DOCUMENT_UPPER_ACTION" enabled="false" />

This not worked!

Any other suggestions

07/14/2014

Hi,

DOCUMENT_UPPER_ACTION is a category and not an action for me. You must have action as for example 'summary_current_document_states' to hide states.

Best regards.

07/15/2014