cancel
Showing results for 
Search instead for 
Did you mean: 

Remove the tags feature

patrek
Star Contributor
Star Contributor

Is there a way to write a contribution in order to remove all the tags feature (adding tag, searching for tag and navigating by tags)?

Would removing the following files accomplish the desired effect?

  • nuxeo-platform-tag-api-5.5.jar
  • nuxeo-platform-tag-web-5.5.jar
  • nuxeo-platform-tag-core-5.5.jar

Thanks

1 ACCEPTED ANSWER

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Did you test it ? 😄

Is it working ? :D If not that's mean there is other feature based on this one. So or you find all features that depends on it and remove it one by one or you just disable actions you don't want.

First disable the cloud tag view:

To remove actions you just have to contribute this:

<?xml version="1.0"?>
<component
    name="org.nuxeo.ecm.virtualnavigation.tagsContrib.override.because.i.want">
  <require>org.nuxeo.ecm.virtualnavigation.tagsContrib</require>
  <extension target="org.nuxeo.ecm.platform.virtualnavigation.NavTreeService"
      point="navigationTree">
    <navTree treeId="TAG_CLOUD" enabled="false">
    </navTree>
  </extension>

</component>

Override the xhtml fragment that displays the tag feature:

nuxeo.war/widgets/summary/tagging_widget_template.xhtml and nuxeo.war/incl/tagging.xhtml

Think this is all.

Becareful if you remove this feature, if you are using in the future an add-on or a service that will depend of this feature, this will not work.

View answer in original post

2 REPLIES 2

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Did you test it ? 😄

Is it working ? :D If not that's mean there is other feature based on this one. So or you find all features that depends on it and remove it one by one or you just disable actions you don't want.

First disable the cloud tag view:

To remove actions you just have to contribute this:

<?xml version="1.0"?>
<component
    name="org.nuxeo.ecm.virtualnavigation.tagsContrib.override.because.i.want">
  <require>org.nuxeo.ecm.virtualnavigation.tagsContrib</require>
  <extension target="org.nuxeo.ecm.platform.virtualnavigation.NavTreeService"
      point="navigationTree">
    <navTree treeId="TAG_CLOUD" enabled="false">
    </navTree>
  </extension>

</component>

Override the xhtml fragment that displays the tag feature:

nuxeo.war/widgets/summary/tagging_widget_template.xhtml and nuxeo.war/incl/tagging.xhtml

Think this is all.

Becareful if you remove this feature, if you are using in the future an add-on or a service that will depend of this feature, this will not work.

Not yet.

Getting started

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.