cancel
Showing results for 
Search instead for 
Did you mean: 

Cacher des propriétés

zomurn
Champ in-the-making
Champ in-the-making
Bonjour,

Je cherche à cacher des propriétés existantes (author, modifier, etc.) de documents dans alfresco.
Pour cela j'ai mis dans le web-client-config-custom.xml des choses comme :

<config evaluator="aspect-name" condition="cm:author">
      <property-sheet>
         <show-property name="cm:author" show-in-view-mode="false" show-in-edit-mode="false"/>
      </property-sheet>
   </config>

Mais rien n'y fait, author apparâit toujours.

Une idée ?
1 REPLY 1

rivarola
Champ on-the-rise
Champ on-the-rise
Bonjour,

Je pense qu'il faut plutôt redéfinir chaque bloc "config" entièrement, comme dans la configuration initiale d'Alfresco, avec l'option replace="true", mais sans les propriétés à masquer. Par exemple :
<config evaluator="aspect-name" condition="cm:author" replace="true">
      <property-sheet>
      </property-sheet>
</config>

(à vérifier, je n'ai pas testé sur ce cas)
Getting started

Tags


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.