AnsweredAssumed Answered

How to hide metadata from a custom type.

Question asked by cristinamr Moderator on Nov 9, 2010
Latest reply on Nov 15, 2010 by cristinamr

I've this custom model in Share:

<type name ="am:expjuridico">

Anohter side, I've this aspect:
      <aspect name="am:datosGenericosExp">
         <title>Datos Genéricos</title>
            <property name="am:asunto">

In the share-config-custom.xml, I've this code:
 <config evaluator="node-type" condition="am:expjuridico">
         <!– Default form configuration used on the document details and edit metadata pages –>
            <!– Datos modelo ARDOC - Expedientes Jurídicos –>
            <show id="am:asunto" />

<config evaluator="node-type" condition="cm:folder">
         <form id="rm">
            <hide id="cm:name"/>
            <hide id="cm:title"/>
            <hide id="cm:description" />

I want to hide the cm:folder's metadatas (cm:name, cm:description … ). I've tried this:

- I create a folder.
- I change the folder's type to "expjuridico".
- I apply the aspect "datosGenericosExp".

But the field cm:name, for example, it shows and I can't hide it. What Can I do for hide the fields from cm:folder ?

Any ideas? :(