11-22-2013 07:05 AM
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 : http://doc.nuxeo.com/display/Studio/User+actions+categories
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.
Is there a "Default contextual action filtering" panel somewhere ?
11-22-2013 10:06 AM
Hi,
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.
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 have a look at contributions to the actions service, more specifically actions from the rating module).
Here is a sample conf to disable the "like" action (not tested):
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="documentLike" enabled="false" />
</extension>
11-22-2013 10:06 AM
Hi,
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.
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 have a look at contributions to the actions service, more specifically actions from the rating module).
Here is a sample conf to disable the "like" action (not tested):
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="actions">
<action id="documentLike" enabled="false" />
</extension>
11-22-2013 10:21 AM
It worked for the like button, I'll look for the ids of other action I need to remove. Thanks !
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.