AnsweredAssumed Answered

add several time the same aspect : association

Question asked by isy on Jul 19, 2013
Latest reply on Jul 19, 2013 by isy
Hello,

I would like to add several time an aspect to a person. A person can be absent several time and assign someone to do his tasks during this period.

For the moment i can have only one absence with this :

<aspects>
      <aspect name="ex:absence">
         <title>Person absence</title>
         <properties>
            <property name="ex:start">
               <title>Start date</title>
               <type>d:date</type>
            </property>

            <property name="ex:end">
               <title>End date</title>
               <type>d:date</type>
            </property>
         </properties>

         <associations>
            <association name="ex:delegatePerson">
               <source>
                  <mandatory>false</mandatory>
               </source>
               <target>
                  <class>cm:person</class>
                  <mandatory>true</mandatory>
                  <many>false</many>
               </target>
            </association>
         </associations>
      </aspect>
   </aspects>



Can someone show me an example ?
Thx in advance

Outcomes