AnsweredAssumed Answered

Advanced search Custom attributes

Question asked by lmoulin on Feb 2, 2007
Latest reply on May 3, 2007 by mliwski
Hello,
I have define two customs types (erd and but) in the advanced search window.
<config evaluator="string-compare" condition="Advanced Search">
   <advanced-search>
      <content-types>
         <type name="my:erd"/>
         <type name="my:but"/>
      </content-types>
      <custom-properties>
         <meta-data type="my:erd" property="my:erd_date_creation"/>
         <meta-data type="my:erd" property="my:erd_client"/>
         <meta-data type="my:erd" property="my:erd_index"/>
         <meta-data type="my:but" property="my:but_attr1"/>
         <meta-data type="my:but" property="my:but_attr2" />
         <meta-data type="my:but" property="my:but_attr3"/>
      </custom-properties>
   </advanced-search>
</config>

I want to display the meta-data of a type when the user selects this type in the advanced search.
For example, when the user selects the document type ‘erd’, ONLY the properties ‘erd_date_creation’, ‘erd_client’ and ‘erd_index’ are displayed. The properties ‘but_attr1’, ‘but_attr2’ and ‘but_attr3’ are not visible.

thanks a lot,
Luc

Outcomes