Frage

I noticed this within the person model (Didn't pick up on it the first time):

 <associations>
    <association name="cm:avatar">
       <source>
          <role>cm:avatarOf</role> <!-- What is the purpose of this?? -->
          <mandatory>false</mandatory>
          <many>false</many>
       </source>
       <target>
          <class>cm:content</class>
          <role>cm:hasAvatar</role>
          <mandatory>false</mandatory>
          <many>false</many>
       </target>
    </association>
 </associations>

I am duplicating this association for my own model and would like to know it's significance of this element within associations.

War es hilfreich?

Lösung

The info is informational only, the value can even be retrieved via the JavaScript API. Information can be found here: https://issues.alfresco.com/jira/browse/MNT-7403

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top