cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a new Content Type

drbaz
Champ in-the-making
Champ in-the-making
Here's my new content type ..

<!– Definition of new Content Type: myContent–>
      <type name="tx:myContent">
         <title>My Content</title>
         <parent>cm:content</parent>
         <properties>
         </properties>
         <associations>
            <association name="tx:users">
          <source>
      <mandatory>false</mandatory>
      <many>false</many>
      </source>
               <target>
                  <class>cm:person</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
      </association>           
         </associations>
      </type>
    </types>

I have edited the web-client-config-edit-propertis.xml file with the appropraite stuff.

I edit the properties of my newly created document fo type myContent.
The  "users" association appears OK, but when I search I get a list that contains multiple  "/system/…./person " entries, wheras I want a list of users

Any suggestions ? I assume its my cmSmiley Tongueerson definition in the <association> above, but where have I gone wrong?
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
Unfortunately this is a bug, it is rasied in JIRA if you would like to track it's progress.