Hi,
i am trying to show the Relations Tab for folderish document types with the following action contribution:
<?xml version="1.0"?>
<component name="net.hra.custom1.actions">
<require>org.nuxeo.ecm.platform.actions.relations.web</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
<action id="TAB_RELATIONS" link="/incl/tabs/document_relations.xhtml"
enabled="true" label="action.view.relations" order="55" type="rest_document_link">
<category>VIEW_ACTION_LIST</category>
<filter id="view_relations">
<rule grant="true">
<permission>Read</permission>
</rule>
<rule grant="true">
<facet>Folderish</facet>
</rule>
<rule grant="false">
<type>Server</type>
</rule>
</filter>
</action>
</extension>
</component>
I thought with this contribution the Relations Tab would be shown for every Folderish Document type, but it's not working.
What do i miss here?
Thanks,
Max