AnsweredAssumed Answered

Property labels in advanced search are not set

Question asked by roman on Feb 20, 2008
Latest reply on Feb 25, 2008 by gavinc
Hello community,

i've configured the advanced search:
- added a property from a custom content type
- added some properties from custom aspects


<!– Configuring advanced search –>
<config evaluator="string-compare" condition="Advanced Search">
   <advanced-search>
      <content-types>
         <type name="custom:custom_document" />
      </content-types>
      <custom-properties>
         <meta-data type="custom:custom_document" property="custom:prop_language" />
         <meta-data aspect="custom:marketing_document" property="custom:prop_type" />
         <meta-data aspect="custom:commercial_document" property="custom:prop_organisation" />
      </custom-properties>
   </advanced-search>
</config>

these properties are defined and shown correct in details dialog…

<!– Properties of content type 'custom Document' –>
<config evaluator="node-type" condition="custom:custom_document">
   <property-sheet>
      <show-property name="custom:prop_language" display-label-id="document_language" />
   </property-sheet>
</config>

the search is working fine but the labels of this properties are not shown in the advanced search, but the property name instead (e.g. prop_language)

the alfresco wiki tells:
The <type> attribute is the model type containing the property and the <property> attribute specifies the property to use. The display label for the property will also be taken from the repository model definiton.

any ideas?

best regards

Outcomes