Override default vocabulary in administrator tab
Hello, I'm using Nuxeo10.10 as a docker image and I'm trying to override the vocabulary on the administrator page, I would like to change some vocabulary name and delete other; I found this extension here and I override this:
<directory extends="template-l10nxvocabulary" name="l10nsubjects">
<parentDirectory>l10nsubjects</parentDirectory>
<deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
<property name="targetDirectory">l10nsubjects</property>
<property name="targetDirectoryField">parent</property>
</deleteConstraint>
<dataFile>directories/l10nsubjects.csv</dataFile>
</directory>
to this:
<directory extends="template-l10nxvocabulary" name="test">
<parentDirectory>test</parentDirectory>
<deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
<property name="targetDirectory">test</property>
<property name="targetDirectoryField">parent</property>
</deleteConstraint>
<dataFile>directories/l10nsubjects.csv</dataFile>
</directory>
but it added it as new vocabulary as shown in the attached screenshot. so please if there is any way to change or delete vocabulary names share it with me.
Hello,
The simplest solution would be to upload the new l10nsubjects.csv file in the Resources in Nuxeo Studio (Modeler) or reference another csv file with another XML contribution in the dataFile
line.
Regards,