AnsweredAssumed Answered

How can I show associations in the search?

Question asked by rleones on Mar 2, 2011
Latest reply on Mar 18, 2011 by amitabhandari1
Is it possible to filter the search by associated types?

Suppose I have two content-type (employee and role). Employee has a association to the actual role, something like this:

<type name="rl:employee">
   <title>Employee</title>
   <parent>cm:content</parent>

   <associations>
      <association name="rl:actualRole">
         <title>Actual Role</title>
         <source>
            <mandatory>false</mandatory>
            <many>true</many>
         </source>
         <target>
            <class>rl:role</class>
            <mandatory>false</mandatory>
            <many>true</many>
         </target>
      </association>
   </associations>

</type>

So, I would like to retrieve the employees that have the role X. Is it possible? How can I do this?

Outcomes