AnsweredAssumed Answered

Add a link in the content model

Question asked by alf983 on Jan 10, 2008
Latest reply on Feb 11, 2008 by alf983
Can I add a link in the content model?

<?xml version="1.0" encoding="UTF-8"?>

<model name="my:videomodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
   <description>File Video Model</description>
   <author>Alfonso Manzo</author>
   <version>1.0</version>

 

   <imports>
         <!– Import Alfresco Dictionary Definitions –>
         <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
         <!– Import Alfresco Content Domain Model Definitions –>
         <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
   </imports>

<namespaces>
      <!– Define a Namespace for my new definitions –>
      <namespace uri="my.video.model" prefix="my"/>
</namespaces>



<aspects>
      <aspect name="my:videoClassification">
         <title>Dettagli Video File</title>
         <properties>
            <property name="my:durata">
         <title>Durata</title>
               <type>d:text</type>
            </property>
      <property name="my:resolution">
         <title>Risoluzione</title>
               <type>d:text</type>
            </property>
      <property name="my:artista">
         <title>Artista</title>
               <type>d:text</type>
            </property>
       </properties>
      </aspect>



</aspects>



</model>

Outcomes