Custom Content Space
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 11:36 AM
I would like to create custom content space with properties but i have not success.
Borja
Borja
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2010 02:18 AM
Hi,
Can you provide some details of what you tried to do so far?
Cheers,
Roy
Can you provide some details of what you tried to do so far?
Cheers,
Roy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2010 04:12 AM
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="custom
recio">
<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="custom
ressrelease">
<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="custom
RName" />
<show-property name="custom
REmail" />
<show-property name="custom
RPhone" />
<show-property name="custom
RDate" />
<show-association name="custom
RImage"/>
<show-association name="custom
RFiles"/>
</property-sheet>
</config>
<config evaluator="node-type" condition="custom:expediente">
<property-sheet>
<show-property name="custom:Name" />
<show-property name="custom
recio" />
<show-property name="custom:asignado" />
<show-property name="custom:comentario" />
</property-sheet>
</config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="custom
ressrelease" />
</content-types>
<folder-types>
<type name="custom:expediente"description="Inline description of a Project Space"
display-label=" Expediente" />
</folder-types>
</config>
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="custom

<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="custom

<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="custom

<show-property name="custom

<show-property name="custom

<show-property name="custom

<show-association name="custom

<show-association name="custom

</property-sheet>
</config>
<config evaluator="node-type" condition="custom:expediente">
<property-sheet>
<show-property name="custom:Name" />
<show-property name="custom

<show-property name="custom:asignado" />
<show-property name="custom:comentario" />
</property-sheet>
</config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="custom

</content-types>
<folder-types>
<type name="custom:expediente"description="Inline description of a Project Space"
display-label=" Expediente" />
</folder-types>
</config>
