AnsweredAssumed Answered

Is it possible to have Associations in Advanced Search?

Question asked by vicsaego on Aug 6, 2008
Latest reply on Aug 19, 2008 by pmonks
Hi everyone,

I've created custom properties en stContext.xml like this:

       <type name="st:offert">
             <property name="st:codOffert">
            <association name="st:associatedOfferts">           

and I would like to have this associations in advanced search. Mi objetive is to have the possibility to find a document searching by associated offerts? For example, a document has a code (codOffert) of OE_321, but this document may be associated with one, two o more documents having codes like OE_567, OE603, OE_647. Is it possible to search this document whith codOffert OE_321?  Of course, when a user upload a document introduces a list of codes of documents which the original document is associated whith.

I have tried to do this with this piece of code in web-client-config-custom.xml:

   <config evaluator="string-compare" condition="Advanced Search">
            <type name="st:offert" />
            <!–<meta-data type="st:offert" property="st:associatedOfferts" display-label="idAssociated" /> –>
            <show-association name="st:associatedOfferts" display-label="idAssociated" />

Thansk very much in advance.