cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Content Space

borja
Champ in-the-making
Champ in-the-making
I would like to create custom content space with properties but i have not success.


Borja
2 REPLIES 2

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Can you provide some details of what you tried to do so far?

Cheers,
Roy

borja
Champ in-the-making
Champ in-the-making
I would like to create a type of space that have the following properties: Begin Date , End Date and the price. i have done this:

In the file "customModel.xml":

         <type name="custom:expediente">
      <title>Expediente</title>
      <parent>cm:folder</parent>
      <properties>
         <property name="custom:Name">
            <title>Nombre</title>
            <type>d:text</type>
         </property>
         <property name="customSmiley Tonguerecio">
            <title>Precio Actual</title>
            <type>d:text</type>
         </property>
         <property name="custom:asignado">
            <title>Asignado</title>
            <type>d:text</type>
         </property>
         <property name="custom:comentario">
            <title>Comentario</title>
            <type>d:text</type>
         </property>
         
      </properties>
      <mandatory-aspects>
         <aspect>cm:versionable</aspect>
      </mandatory-aspects>
   </type>

in the file "web-client-config-custom.xml":

<config evaluator="node-type" condition="customSmiley Tongueressrelease">

      <property-sheet>
         <show-property name="mimetype"
         display-label-id="content_type"
         component-generator="MimeTypeSelectorGenerator" />
         <show-property name="size"
         display-label-id="size"
         converter="org.alfresco.faces.ByteSizeConverter"
      show-in-edit-mode="false" />
      
      <show-property name="customSmiley TongueRName" />
      <show-property name="customSmiley TongueREmail" />
      <show-property name="customSmiley TongueRPhone" />
      <show-property name="customSmiley TongueRDate" />
      <show-association name="customSmiley TongueRImage"/>
      <show-association name="customSmiley TongueRFiles"/>
      </property-sheet>
   </config>
   <config evaluator="node-type" condition="custom:expediente">

      <property-sheet>
         <show-property name="custom:Name" />
         <show-property name="customSmiley Tonguerecio" />
         <show-property name="custom:asignado" />
         <show-property name="custom:comentario" />
      </property-sheet>
   </config>

<config evaluator="string-compare" condition="Content Wizards">
   <content-types>
      <type name="customSmiley Tongueressrelease" />
   </content-types>
   <folder-types>
      <type name="custom:expediente"description="Inline description of a Project Space"
            display-label=" Expediente" />
   </folder-types>
</config>
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.