cancel
Showing results for 
Search instead for 
Did you mean: 

How to hidden the Asset Library in nuxeo DM without uninstall it

geekonspace
Star Contributor
Star Contributor

Currently, I did the traduction to spanish of "document content routing" component and this does not works well if platform has installed "asset Library" component. When I unistall this "asset library" component, my "content routing" component is loaded in spanish but when I have the component asset library installed, my spanish translation does not overwrite the files messages.properties in "content routing" component

Now I disabled the DAM button in MAIN TAB overwriting the action in dam component

<action id="dam" link="assets" label="label.main.tab.dam" order="50" enabled="false">
  <category>MAIN_TABS</category>
</action>	 

The button is hidden and I deleted the document Asset Library in repository but when the server is restarted, the document Asset Library is recreated

What Can I do?

1 ACCEPTED ANSWER

Thomas_Roger
Star Contributor
Star Contributor

Hi,

You can disable the automatic creation of the Asset Library with the following contribution:

<require>org.nuxeo.dam.contentTemplate</require>
<extension target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
  point="postContentCreationHandlers">

  <postContentCreationHandler name="assetLibraryHandler"
    enabled="false" />

</extension>

View answer in original post

3 REPLIES 3

Thomas_Roger
Star Contributor
Star Contributor

Hi,

You can disable the automatic creation of the Asset Library with the following contribution:

<require>org.nuxeo.dam.contentTemplate</require>
<extension target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService"
  point="postContentCreationHandlers">

  <postContentCreationHandler name="assetLibraryHandler"
    enabled="false" />

</extension>

it works ok but without the line

hediacxio_
Champ on-the-rise
Champ on-the-rise

Bonjour,

Je voudrai masquer le DAM (TAB) pour certains utilisateurs , ainsi pour les utilisateurs non authentifiés ?