cancel
Showing results for 
Search instead for 
Did you mean: 

disable default content type properties.

kirin
Champ in-the-making
Champ in-the-making
Hello!
Could you please suggest me the best solution? I need to add custom content type for "Create Content Wizard". I extented from cm:content type and as result I got a inheritance of cm:content's properties (description, author).

<type name="custom:myType">
            <title>My type</title>
            <parent>cm:content</parent>
            <!–here goes my properties–>
</type>
How can I disable unwanted cm:content properties? I want only my properties.
3 REPLIES 3

rivarola
Champ on-the-rise
Champ on-the-rise
Hello,

That may not be the answer you're waiting for but the title and description properties are not inherited from the cm:content type. They belong to the cm:titled aspect and are added on the fly by the WebClient UI.

mabayona
Champ on-the-rise
Champ on-the-rise
Another possibility is to dissable them in web-client-config-custom.xml:

   <config evaluator="node-type" condition="mymodel:mytype">
      <property-sheet>
         <show-property name="mymodel:myvar"/>   
         
         <!– hide the title property –>
         <show-property name="title" show-in-view-mode="false" show-in-edit-mode="false" />
      </property-sheet>
   </config>

They are inherited, but are not shown and not used.

kirin
Champ in-the-making
Champ in-the-making
Thanks for your responses!
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.