AnsweredAssumed Answered

Making peer-association searchable?

Question asked by bluearth on Dec 11, 2009
Hi alfresco fellows,

I have the following peer-association in my custom model (below).
What changes do I need to do on web-client-config-custom.xml so that user can limit searches to "rws:dispatchTo" with specific values in the 'advance search'?

Thanks in advance.


    <aspects>

       <aspect name="rws:defaultAspect">
         <properties>
            …..bunch of properties goes here…
         </properties> 
         <associations>
            <association name="rws:dispatchTo">
               <source>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </source>
               <target>
                  <class>cm:person</class>
                  <mandatory>false</mandatory>
                  <many>false</many>
               </target>
            </association>
         </associations>
      </aspect>

   </aspects>

Outcomes